Skip to content

Breadcrumb

Shows the user's location within a hierarchy. Items with href are links; the last item is the current page.

Basic

Tailwind v4
vue
<Breadcrumb :items="[
  { label: 'Home', href: '/' },
  { label: 'Equipment', href: '/equipment' },
  { label: 'Crusher #1' },
]" />

Two levels

Tailwind v4
vue
<Breadcrumb :items="[
  { label: 'Dashboard', href: '/' },
  { label: 'Reports' },
]" />

Single item

Tailwind v4
vue
<Breadcrumb :items="[{ label: 'Dashboard' }]" />

Deep hierarchy

Tailwind v4
vue
<Breadcrumb :items="[
  { label: 'Home', href: '/' },
  { label: 'Plants', href: '/plants' },
  { label: 'Plant A', href: '/plants/1' },
  { label: 'Shifts', href: '/plants/1/shifts' },
  { label: 'Jun 9 — Day Shift' },
]" />

Props

PropTypeDefaultDescription
itemsBreadcrumbItem[]Required. Ordered list of breadcrumb items

Types

ts
interface BreadcrumbItem {
  label: string   // Display text
  href?: string   // Omit on the current/last item — renders as plain text
}

Private — Jetpack Labs internal use only