Installation
Add Component
Copy the code snippet below into you components folder.
Integrate Recipe
Integrate this recipe in to your Panda config.
Usage
If you prefer a closed component composition, check out the snippet below.
Examples
Sizes
Use the size prop to change the size of the breadcrumb component
Variants
Use the variant prop to change the variant of the breadcrumb component.
Seperator
Use the Breadcrumb.Separator component to change the separator between breadcrumb items.
Interactive
Keep the last breadcrumb interactive.
Icon
Add a custom icon to the breadcrumb by rendering it within Breadcrumb.Link
Ellipsis
Render the Breadcrumb.Ellipsis component to show an ellipsis after a breadcrumb item
Menu
As an alternative, consider adding a Menu component to display the condensed links in a dropdown list:
Routing Library
Use the asChild prop to change the underlying breadcrumb link
Closed Component
Here is an example of how to use the Breadcrumb component in a closed manner.
and use it like this: