- Docs
- Components
- Breadcrumb
Breadcrumb
Breadcrumbs display a hierarchy of links to the current page or resource in an application.
Preview
Code
Installation
CLI
Manual
Anatomy
Single import
Multiple imports
Examples
Custom Separator
Use a custom component as children for <BreadcrumbSeparator /> to create a custom separator.
Preview
Code
Dropdown
You can compose <BreadcrumbItem /> with a <Menu /> to create a dropdown in the breadcrumb.
Preview
Code
Collapsed
There's a <BreadcrumbEllipsis /> component to show a collapsed state when the breadcrumb is too long.
Preview
Code
API Reference
Breadcrumb.Root
| Prop | Type | Default |
|---|---|---|
children | ReactNode | |
isDisabled | boolean | |
onAction | function |
Breadcrumb.Item
| Prop | Type | Default |
|---|---|---|
id | Key | |
children | ReactNode |
Breadcrumb.Separator
| Prop | Type | Default |
|---|---|---|
children | ReactNode |
Breadcrumb.Ellipsis
| Prop | Type | Default |
|---|---|---|
children | ReactNode |