Breadcrumb

Examples

Breadcrumb

Copied to clipboard

Breadcrumb without Home Link

Copied to clipboard

Breadcrumb with Heading

Copied to clipboard

Breadcrumb Props

The Breadcrumb component accepts the following props.

NameTypeRequiredDefaultDescription
children
node
nullChildren nodes be rendered to the BreadCrumb. Should be of type BreadCrumbItem.
className
string
''Additional classes added to the breadcrumb nav.
aria-label
string
'breadcrumb'Aria-label added to the breadcrumb nav.

BreadcrumbItem Props

The BreadcrumbItem component accepts the following props.

NameTypeRequiredDefaultDescription
children
node
nullContent rendered inside the breadcrumb item.
className
string
''Additional classes added to the breadcrumb item.
to
string
nullHREF for breadcrumb link.
isActive
bool
falseFlag indicating whether the item is active.
target
string
nullTarget for breadcrumb link.
component
custom
'a'Sets the base component to render. Defaults to <a>

BreadcrumbHeading Props

The BreadcrumbHeading component accepts the following props.

NameTypeRequiredDefaultDescription
children
node
nullContent rendered inside the breadcrumb title.
className
string
''Additional classes added to the breadcrumb item.
to
string
nullHREF for breadcrumb link.
target
string
nullTarget for breadcrumb link.
component
custom
'a'Sets the base component to render. Defaults to <a>