Breadcrumb
Displays the path to the current resource using a hierarchy of links.
Installation
Copy the following code into your app directory.
Command
Command
Manual
Manual
uv
Anatomy
Use the following composition to build a Breadcrumb component.
Custom Separator
Use a custom component as children for breadcrumb.separator to create a custom separator.
Dropdown
You can compose breadcrumb.item with a menu.root to create a dropdown in the breadcrumb.
Collapsed
We provide a breadcrumb.ellipsis component to show a collapsed state when the breadcrumb is too long.
API Reference
breadcrumb.root
The breadcrumb.root component is the root navigation element that wraps all breadcrumb components.
breadcrumb.list
The breadcrumb.list component displays the ordered list of breadcrumb items.
breadcrumb.item
The breadcrumb.item component wraps individual breadcrumb items.
breadcrumb.link
The breadcrumb.link component displays a clickable link in the breadcrumb.
breadcrumb.page
The breadcrumb.page component displays the current page in the breadcrumb (non-clickable).
breadcrumb.separator
The breadcrumb.separator component displays a separator between breadcrumb items. You can pass custom children to override the default separator icon.
breadcrumb.ellipsis
The breadcrumb.ellipsis component displays an ellipsis indicator for collapsed breadcrumb items.