# Components Breadcrumb: Background Breadcrumb

A breadcrumb trail wrapped in a soft tinted background bar. Anchors the top of a page and keeps navigation links readable above busy content.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/background-breadcrumb
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Breadcrumbs](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/background-breadcrumb.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-breadcrumbs-background-breadcrumb
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-breadcrumbs-background-breadcrumb.json"`.

## Depends on

- npm packages: lucide-react, radix-ui
- shadcn/ui components: breadcrumb
- Installs to: `@/components/blocks/components/breadcrumbs/background-breadcrumb`

## About this block

Background Breadcrumb wraps the entire navigation trail inside a single
tinted pill bar. The bar holds a row of links separated by chevron icons,
and the current page sits at the far right rendered as plain text with a
lighter background chip to distinguish it from the clickable ancestors.
Each ancestor link gets its own hover highlight so the target area is
clear without needing underlines.

All the pieces are independent. You can swap in however many path segments
your hierarchy needs, rewrite every label, and change the icons in the
separators without affecting the container or the current page chip. The
bar itself is a single wrapper, so removing it entirely leaves a plain
breadcrumb you can restyle from scratch.

## When to use

This layout works well when the breadcrumb sits above content that is
visually busy or has a light background where a bare text trail would
disappear. For a developer tools company, it fits naturally on a docs page
that renders code blocks and dense reference tables: the tinted bar draws
a clear horizontal seam between the navigation layer and the content
below. It handles three to five path segments comfortably before the bar
starts to feel crowded.

A natural flow around it on a Components page:

**Before**

- A [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) row to switch between sections such
  as Overview, API Reference, and Examples
- A short page header with the section title to orient the reader before
  they scan the breadcrumb

**After**

- A [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) grid to display the content items
  the user navigated to
- A [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination) bar when the destination
  category contains more items than fit on one screen

## What you can customize

The block gives you a contained breadcrumb bar with three distinct
interactive zones. A few ways to adapt it:

- **Path depth.** Add or remove BreadcrumbItem and BreadcrumbSeparator
  pairs to match the real depth of your navigation hierarchy.
- **Current page chip.** The rightmost item renders with a distinct
  background chip; update its label to reflect the active section title
  on every page where you use this block.
- **Separator icon.** The chevron is a drop-in; swap it for a slash,
  dot, or any small icon to match your product's visual language.

> Tip: keep the bar to four segments or fewer so it never wraps onto a
> second line in narrow viewports.

## More in Components Breadcrumbs

- [Bordered Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/bordered-breadcrumb)
- [Card Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/card-breadcrumb)
- [Compact Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/compact-breadcrumb)
- [Dot Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/dot-breadcrumb)
- [Icon Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/icon-breadcrumb)
- [Numbered Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/numbered-breadcrumb)
- [Pill Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/pill-breadcrumb)
- [Progress Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/progress-breadcrumb)
- [Slash Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/slash-breadcrumb)
- [Sticky Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/sticky-breadcrumb)
- [Timeline Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/timeline-breadcrumb)
