# Components Breadcrumb: Card Breadcrumb

A breadcrumb housed in a rounded card with a subtle shadow. Lifts the navigation path off the page for detail views and account settings screens.

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

## Install

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

## Depends on

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

## About this block

Card Breadcrumb wraps a standard navigation trail inside a rounded card
container with a border and a soft shadow. The card holds a horizontal
row of links separated by chevron icons, reading from a root anchor
through intermediate stops to a bold current page label at the end.
The card sits on padding so it floats clear of whatever is behind it.

Every piece of the block is independently editable. You can change the
link labels and targets to match any hierarchy, add or remove
intermediate stops, or swap the current page label for a different
section name. The card container itself can be dropped anywhere a
breadcrumb makes sense without adjusting surrounding layout.

## When to use

Reach for this block when the breadcrumb needs to stand out rather than
blend into the page. In a healthcare scheduling product, detail screens
for appointments, patient records, or billing summaries often sit inside
flat white surfaces, and the card lifts the navigation path just enough
to read as its own element. It works equally well in account settings
drawers or any content area where the background behind the header is
light and uniform, and a flat breadcrumb would disappear into it.

A natural flow around it on a Components page:

**Before**

- A short page header or hero to establish the section context
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) to label the record type or
  status above the breadcrumb

**After**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) for the main content surface
  the user navigated to
- [Pagination](https://www.shadcn-ui-blocks.com/blocks/components/pagination) if the detail view
  lists multiple records the user can step through

## What you can customize

The block adapts to any depth of navigation hierarchy you already have:

- **Link labels and targets.** Replace the demo copy with the real
  section names and routes from your own information architecture.
- **Trail depth.** Add a stop for a deeper hierarchy or remove one
  for a shallower two-level path without changing the card or
  separators.
- **Current page label.** Swap "Electronics" for whatever the active
  page is called; the bold styling marks it as the current location
  automatically.

> Tip: keep the trail to four stops or fewer so the card stays
> compact and the labels remain legible at narrow viewport widths.

## 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)
- [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)
