Breadcrumb
Breadcrumb. It is copied into your app’s ui/ by qatjs add breadcrumb: the code is yours to edit.
Example
import Breadcrumb from './ui/breadcrumb/breadcrumb.qx'
export default function Example() {
return (
<Breadcrumb
items={[
{ label: 'Kassa', href: '#kassa' },
{ label: 'Orders', href: '#orders' },
{ label: '2026', href: '#2026' },
{ label: 'October', href: '#october' },
{ label: 'Order 10482' },
]}
/>
)
}Add it
npx qatjs add breadcrumbBreadcrumb
As a custom element: <ui-breadcrumb>.
| Prop | Type | Attribute |
|---|---|---|
items | Crumb[] | property only |
max | number | yes |
label | string | yes |
moreLabel | string | yes |