Skip to content

Breadcrumbs ​

Navigation component showing page hierarchy for wayfinding.

Open in Storybook

Interactive Demo ​

Usage ​

vue
<script setup>
import { BreadcrumbGroup } from '@yellowcard/b2b-design-system';

const items = [
  { label: 'Home', href: '/' },
  { label: 'Settings', href: '/settings' },
  { label: 'Profile' },
];
</script>

<template>
  <BreadcrumbGroup :items="items" />
</template>

API Reference ​

Props ​

PropTypeDefaultDescription
items*BreadcrumbItem[]—Array of breadcrumb items with label and optional href
ariaLabelstring'Breadcrumb'Accessible label for nav element
maxItemsnumber—Max visible items before collapsing
collapseLabelstring—Label for collapsed items trigger