Measured entry

shadcn-breadcrumb

breadcrumbunclassified

A composable React breadcrumb built from semantic navigation, list, link, current-page, separator, and ellipsis parts. It ships as copy-in TypeScript and JSX, styled with Tailwind utility classes and theme tokens. It uses Radix Slot for custom link elements, Lucide icons, and a cn helper backed by clsx and tailwind-merge.

Specimen
Harness screenshot of shadcn-breadcrumb at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-breadcrumb at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-breadcrumb at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for shadcn-breadcrumb
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal31.7 KB (97.2 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.34s
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-ffef5a10ffd5/src/cut/components/ui/breadcrumb.tsx".

Verdict

A dependable copy-in breadcrumb for shadcn-aligned React projects. It built and mounted cleanly, stayed usable across the checked layouts, and exposed no accessibility findings. Choose it for composable markup, not for automatic route discovery or overflow behavior.

Use it if

  • You want explicit control over each breadcrumb segment and its destination.
  • Your app already uses Tailwind theme tokens and shadcn-style copy-in components.
  • Your router needs links rendered through a custom component via the asChild pattern.
  • You need semantic breadcrumb markup with customizable separators and an ellipsis part.

Skip it if

  • You need the breadcrumb trail generated automatically from router state or page metadata.
  • You need responsive collapsing, truncation, or an interactive overflow menu out of the box.
  • Your project does not use Tailwind utilities and you do not want to translate its theme-token classes.
  • You want to avoid taking dependencies on Radix Slot and Lucide icons for a small navigation pattern.

Install

Installation record for shadcn-breadcrumb
Declared dependenciesradix-ui, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Tailwind CSS with foreground and muted color tokens, Radix UI, Lucide React, clsx, and tailwind-merge. Provide the cn class-merging helper, configure the source alias or replace that import, then copy the component into your codebase.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

github.com/shadcn-ui/ui
License
MIT
Record published
2026-08-16

Alternatives

Other published entries for the breadcrumb pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.