Breadcrumb
A secondary navigation trail that displays the user's current location within an information hierarchy and enables one-click upward navigation
Table of Contents
Interactive Playground
Tap or drag to interact with the demoWhat is Breadcrumb?
A secondary navigation trail that displays the user's current location within an information hierarchy and enables one-click upward navigation. It is a core concept in UI Components within UI / UX.
Core Principles
Named after the trail of crumbs in Hansel and Gretel, a Breadcrumb is a secondary navigation bar—typically placed above the page title—showing the user's path from the root down to the current view (e.g., Home > UI / UX > Components > Breadcrumb).
It is especially valuable for visitors landing directly on deep pages from search engines or shared links, giving instant spatial orientation and one-click upward navigation.
Practical Takeaways
- Do not link the current page: Render the final item as plain, higher-contrast text with
aria-current="page"rather than a redundant self-link. - Pair semantic HTML with SEO schema: Wrap items in
<nav aria-label="Breadcrumb"><ol>...</ol></nav>and outputBreadcrumbListJSON-LD so search engines display clean hierarchy trails in results. - Collapse deep paths on mobile: When trails exceed 3–4 levels on narrow screens, truncate middle segments with
…or simplify to a single upward back-link (← UI Components).
Notable Examples
- E-commerce product pages: Allowing shoppers who arrived via search to jump up to the parent category to compare alternatives.
- File explorers & code hosts (GitHub, Google Drive): Interactive folder paths enabling rapid directory traversal.
- Documentation portals: Orienting readers across domain, section, and article hierarchies.