Breadcrumb
Shows the current page location within a hierarchy. Fully accessible with ARIA landmark support.
$cookest-ui add breadcrumb
Basic
A simple three-level breadcrumb trail.
With Ellipsis
Collapse middle items for long paths.
Custom Separator
Replace the default separator with any icon.
| Prop | Type | Default | Description |
|---|---|---|---|
BreadcrumbLink | ReactNode | — | A navigable ancestor link in the trail. |
BreadcrumbPage | ReactNode | — | The current page — non-interactive, aria-current='page'. |
BreadcrumbSeparator | ReactNode | — | Visual separator between items. Defaults to '/'. |
BreadcrumbEllipsis | — | — | Collapses hidden ancestors with a '...' indicator. |