Dinners

Bread Crumb UI: What It Is and How to Use It

Updated · By Patriot Kitchen

Save

Bread crumb UI is a navigation aid that shows your location within a website’s hierarchy, typically as a horizontal trail of links. It suits any multi-level site where users need to move up or sideways, and it is usually placed near the top of a page, above the main content. This page explains what bread crumbs are, when they help, how to implement them, and common mistakes to avoid.

What Bread Crumbs Do

Bread crumbs display the path from the homepage to the current page, with each segment linking to its respective level. For example, a product page might show Home > Electronics > Laptops > Model X. They reduce the number of clicks needed to return to a higher-level section and give users a sense of place. They are most useful on sites with three or more levels of hierarchy; on flat sites with one or two levels, they add clutter without benefit.

Types of Bread Crumbs

There are three common patterns:

  • Location-based – reflects the site’s static hierarchy (e.g., Home > Shop > Men > Shirts). Best for sites with a clear category tree.
  • Path-based – shows the user’s actual browsing history (e.g., Home > Previous Page > Current Page). This is dynamic and can confuse if users arrive from a search engine.
  • Attribute-based – shows filters or attributes applied to a listing (e.g., Home > Shoes > Size 10 > Blue). Common on e-commerce sites.

Location-based is the most common and recommended for most sites because it is predictable and matches the site’s structure.

When to Use Bread Crumbs

Use bread crumbs when your site has a clear hierarchy of at least three levels (e.g., Home > Category > Subcategory > Item). They are especially helpful on e-commerce, documentation sites, and large blogs. Skip them on single-page sites, web apps with tabbed navigation, or when the main navigation already shows the full path. Also skip them if the current page is the homepage or a top-level page – the trail would be redundant.

How to Implement Bread Crumbs

Implement bread crumbs as a list of links separated by a chevron or slash. Use an ordered list (<ol>) for semantic meaning. Each item except the last is a link; the last item is the current page and should not be a link. Include aria-label="Breadcrumb" on the navigation element and aria-current="page" on the current item for screen readers.

Example HTML structure:

<nav aria-label="Breadcrumb">
  <ol>
    <li><a href="/">Home</a></li>
    <li><a href="/electronics">Electronics</a></li>
    <li><a href="/laptops">Laptops</a></li>
    <li aria-current="page">Model X</li>
  </ol>
</nav>

Style with CSS to show separators (e.g., li:not(:last-child)::after { content: "/"; }). Ensure the separator is decorative and not read by screen readers.

Bread Crumb Best Practices

Keep the trail short – ideally no more than 4 or 5 levels. Use the page’s actual title for the last item, not a truncated version. Make sure each link is clearly labeled and the hierarchy matches the site’s navigation. On mobile, consider hiding bread crumbs if space is tight, or make them horizontally scrollable. Test with real users to see if they use them.

Common Mistakes and Fixes

Using bread crumbs as primary navigation – they are secondary; the main menu should always be visible.

Making the current page a link – it should be plain text, not clickable.

Showing a path that does not match the menu – if the breadcrumb says Home > Products but the menu calls it Shop, users get confused. Align labels.

Including too many levels – a trail like Home > Store > Electronics > Computers > Laptops > Gaming > Model X is overwhelming. Trim to the most relevant levels.

Ignoring mobile – long trails wrap awkwardly. Use a compact version with a “…” or hide on small screens.

Bread Crumbs vs. Other Navigation

Bread crumbs complement, not replace, primary navigation. They are not the same as tabs or a sitemap. Tabs show top-level sections; bread crumbs show the current path. A sitemap is a full list of pages. Use bread crumbs in addition to a clear menu, not instead of one.

If you are unsure whether your site needs bread crumbs, test with a prototype: add them and watch how users navigate. If they use them to go back to a category, keep them; if they ignore them, remove them.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).