Navigation
Breadcrumb
Also calledbreadcrumbslocation trail
A trail of parent-page links that shows where the current page sits in a site hierarchy.
How people describe it
- “trail of links showing where I am”
- “home then category then current page”
- “small links separated by arrows above the title”
Good for
- Nested documentation pages
- Product category navigation
Don’t mix it up with
Shows the main destinations rather than the current page hierarchy.
What your library calls it
| LIBRARY | CALLS IT |
|---|---|
| shadcn/ui | Breadcrumb |
Accessibility checklist
- Label the navigation landmark
- Mark the current page with aria-current="page"
- Hide separators from screen readers and let links wrap
Try it
Click a parent page
Click a parent page. With 4+ levels, collapse the middle into …
Settings
Colors
Pick, eyedrop, or generate a color, then choose Custom under Color above.
Passes AA · 6.9:1
Text color is chosen for you.
Start
End
Prompt
Add a breadcrumb with linked parent pages and a marked current page.
~17 estimated prompt tokensDetailed: ~51 estimated prompt tokens
Rough estimate for prompt text only; actual counts vary by model and context.
<nav aria-label="Breadcrumb">
<ol style="display:flex; flex-wrap:wrap; align-items:center; gap:8px; list-style:none; padding:0">
<li><a href="/" style="display:inline-flex; align-items:center; min-height:44px; min-width:44px">Home</a></li>
<li aria-hidden="true">/</li>
<li><a href="/guides/" style="display:inline-flex; align-items:center; min-height:44px; min-width:44px">Guides</a></li>
<li aria-hidden="true">/</li>
<li><span aria-current="page">Getting started</span></li>
</ol>
</nav>Used in
Explore website blueprints that use this component.