#154
Custom separator
A breadcrumb with a custom separator character between three items.
Hand this to your AI. It names the exact library parts, timings and accessibility promises of this demo.
Build the "Custom separator" pattern (@codeatlasdev/ui demo #154, navigation/breadcrumb) in my app.
Call get_demo({ ids: ["#154"] }) first and keep its structure. It needs @codeatlasdev/[email protected].
Use: Matching breadcrumb punctuation to a product's visual language, for example a chevron between levels.
Keep these library parts, with the props and tokens the demo uses:
- Breadcrumb from "@codeatlasdev/ui"
Behaviour to keep:
- `<Breadcrumb` with `items` Docs (`href: '/'`), API Reference (`href: '/api'`) and Components (no `href`)
- `separator="›"` sets a single character as the separator
Reduced motion: the demo handles it; keep that branch.
Keyboard: operable; keep the focus order and key handling.
Change only the copy and the data. Use the theme tokens (--ca-*), never raw colours. Library parts
- Breadcrumb
@codeatlasdev/ui
How it is built
- `<Breadcrumb` with `items` Docs (`href: '/'`), API Reference (`href: '/api'`) and Components (no `href`)
- `separator="›"` sets a single character as the separator
Related
Loading source.