Breadcrumb
A navigational landmark that shows the user's current location within a site hierarchy.
Installation
npx dafink-ui add breadcrumbDemo
Props
| Name | Type | Default | Description |
|---|---|---|---|
| items | Array<{ label: string; href?: string }> | - | Ordered list of crumbs. The last item is the current page and should have no href. |
| separator | ReactNode | "/" | Rendered between each item. Accepts strings or any React element. |
| className | string | "" | Additional classes applied to the wrapping nav element. |