# Components Breadcrumb: Sticky Breadcrumb

A breadcrumb that pins to the top of the view as the page scrolls. Keeps the current location visible on long articles and deep settings pages.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/sticky-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/sticky-breadcrumb.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-breadcrumbs-sticky-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-sticky-breadcrumb.json"`.

## Depends on

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

## About this block

Sticky Breadcrumb is a navigation bar that pins to the top of a scrollable
container as the user moves down the page. A translucent background with a
subtle blur effect keeps the bar legible over the content beneath it, and a
thin bottom border and light shadow separate it cleanly from the body. The
trail shows the full path from Home through intermediate sections down to the
current page, with chevron separators between each link.

The bar sits inside any scrollable region you provide, so you can drop it into
a full viewport layout or a bounded panel. The path links, their labels, and
the number of levels are all yours to change. You can shorten the trail to two
levels or extend it to five without affecting the sticky behavior.

## When to use

Reach for this block on any page where the content is tall enough that a
reader could lose their place. In a product analytics SaaS it fits naturally on
a deep drill-down view, such as a workspace, a dashboard, or an event explorer
where users navigate several levels before landing on the detail they need.
Compared to a static breadcrumb that scrolls away, this one keeps the path
anchor visible the entire time, so users can jump back up the hierarchy without
scrolling back to the top.

A natural flow around it on a Components page:

**Before**

- A short hero or page header to establish the section context
- [Tabs](https://www.shadcn-ui-blocks.com/blocks/components/tabs) to let users switch between related views
  before diving into a deep content area

**After**

- [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination) at the bottom of the content
  list so users can move between result pages without losing their place
- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to render the detail items the breadcrumb
  path leads to

## What you can customize

The block has three distinct parts you can adjust independently:

- **The breadcrumb path.** Swap in your own routes and labels at any depth,
  from a two-level "Home / Reports" trail to a four-level hierarchy that
  mirrors your app's navigation tree.
- **The sticky bar appearance.** The translucent background and blur are
  applied as a single unit, so you can swap in a fully opaque background or
  remove the shadow to match a flatter design system.
- **The scrollable content below.** The demo cards are placeholders. Replace
  them with your real page content and the sticky behavior carries over
  automatically.

> Tip: if your layout already has a fixed top navigation bar, offset the
> breadcrumb's stick point to sit just below it so the two bars do not overlap.

## More in Components Breadcrumbs

- [Background Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/background-breadcrumb)
- [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)
- [Timeline Breadcrumb](https://www.shadcn-ui-blocks.com/blocks/components/breadcrumbs/timeline-breadcrumb)
