Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA path chosen in a breadcrumb: every crumb is a menu of its siblings, choosing one cuts the path there and reveals a Choose crumb for the next level. Use this when people pick a location in a hierarchy and want to see and change it at any level.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it for choosing a category, a folder or a place when the path itself is the answer, and jumping back up to change one level should be one click.
Do not use it when people browse a large tree. Use a cascader or a tree.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
tree | { id, label, children? }[] | - | The hierarchy. |
value | string[] | - | The path of ids (controlled). |
defaultValue | string[] | [] | Initial path. |
onValueChange | (path: string[], complete: boolean) => void | - | Runs on every change; complete is true when the path ends at a leaf. |
label | string | Category | Names the trail. |
nav named by label containing an ordered list; each crumb is a button with aria-haspopup="menu" named Level 2: Audio. Change.Path: Electronics, Audio. Choose the next level. or Path complete: ....Choose and is highlighted as the next step.The pattern ships with a Testing Library test (breadcrumb-trail-select.test.tsx) that covers opening a crumb, cutting the path on a change, the Choose crumb and completion.