Breadcrumb
The trail back up, from an array of items.
import
import { Breadcrumb } from '@joshicodes/cock';Trail
Behaviour
- The last item is rendered as the current page and is never a link.
API
Read out of the component sources at build time, so it matches the version you installed.
Every component also takes class, merged
through tailwind-merge so your utility wins.
Props of Breadcrumb
| Prop | Type | Default |
|---|---|---|
items required | Crumb[] | — |
class | string | — |