Breadcrumb
Displays the path to the current resource using a hierarchy of links.
code
Expend code
#Custom separator
code
Expend code
#Collapsed
code
Expend code
#Dropdown
code
Expend code
Breadcrumb
The properties of the Breadcrumb component used for page navigation.
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | Passes the content that includes each item of the Breadcrumb. |
BreadcrumbList
An element that composes a list within the Breadcrumb.
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | Includes multiple items in a list format within the Breadcrumb. |
BreadcrumbLink
An element that provides a link for a Breadcrumb item.
Prop | Type | Default | Description |
---|---|---|---|
href | string | - | Specifies the URL to navigate to when clicked. |
children | React.ReactNode | - | Includes the link text or content. |
BreadcrumbSeparator
An element that separates the items in the Breadcrumb.
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | <ChevronRight size={20} className="text-gray-500" /> | Can include a separator symbol or text. |
BreadcrumbText
A text element that indicates the current position within the Breadcrumb.
Prop | Type | Default | Description |
---|---|---|---|
children | React.ReactNode | - | Includes the text that describes the current position. |