Breadcrumb
Provides a navigational trail showing the user’s current location within the site hierarchy, improving orientation and usability.
Loading...
Installation
Usage
API
Breadcrumb Props
For Breadcrumb Main
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | ReactNode | ReactNode[] | Breadcrumb items to be rendered in sequence. Typically composed of Breadcrumb.Path components. | - |
| textSize | "xs" | "sm" | "md" | "lg" | Controls the text size of the breadcrumb items. | "md" |
| separator | ReactNode | Custom separator rendered between breadcrumb items. | - |
| className | string | Additional CSS classes to customize the breadcrumb container styling. | - |
For Breadcrumb Path
| Attribute | Type | Description | Default |
|---|---|---|---|
| children | ReactNode | The label text of the breadcrumb path. | - |
| icon | ReactNode | Optional icon displayed before the breadcrumb text. | - |
| href | string | URL the breadcrumb path links to. | - |
| className | string | Additional CSS classes to customize the breadcrumb path styling. | - |
Examples
Default [ Without Icon ]
Loading...
With Icon
Loading...
Credits
This component is inspired by Rehman Kalawant Design Shared On Github.