Breadcrumb
NewНавігаційні крихти для відображення ієрархії сторінок.
Import
import { Breadcrumb } from '@brutal-ui/react';Basic Usage
const items = [
{ label: 'Home', href: '/' },
{ label: 'Docs', href: '/docs' },
{ label: 'Components', href: '/docs/components' },
{ label: 'Breadcrumb' },
];
<Breadcrumb items={items} />Custom Separator
<Breadcrumb items={items} separator='→' />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items | BreadcrumbItem[] | - | Array of breadcrumb items |
| separator | string | "/" | Custom separator |