import type { Meta, StoryObj } from '@storybook/react-vite'; import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './breadcrumb'; const meta = { title: 'Components/Breadcrumb', component: Breadcrumb, parameters: { layout: 'centered', docs: { description: { component: 'Trail showing where the current page sits. The last crumb is the page you are on — render it as `BreadcrumbPage`, not a link, so it is announced with `aria-current="page"`.', }, }, }, tags: ['autodocs'], } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { render: () => ( Home Projects Design system ), }; /** Collapse the middle when the path is deep rather than wrapping the trail. */ export const Collapsed: Story = { render: () => ( Home Components Button ), };