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
maxItemsnumberMax visible items before collapsing
collapseLabelstringLabel for collapsed items trigger