Ballmac UI home

Breadcrumb

A compact navigation trail with truncation, semantic current page, and visible keyboard focus.

Design system

Components, tokens, and release notes in one place.

Installation

$ pnpm dlx shadcn@latest add @ballmac/breadcrumb

Usage

import { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis } from "@/components/ballmac/breadcrumb"

The full example is in the Code tab above.

Examples

API reference

PropTypeDefault
"aria-label"

Accessible name of the navigation landmark.

string—

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
Tabmoves among breadcrumb links

Use with AI

A compact navigation trail with truncation, semantic current page, and visible keyboard focus. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Breadcrumb (@ballmac/breadcrumb) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Show a location inside a deep hierarchy
  • Provide a way back to parent sections

Not for

  • Use tabs for switching peer views

Registry JSON: https://ui.ballmac.com/r/breadcrumb.json

Credits

Based on shadcn/ui Breadcrumb, adapted by Ballmac. Free to use in personal and commercial projects.