"Home / Docs / Page" trail with separators.
Install
From your site folder, run:
jprot add BreadcrumbsThat downloads the self-contained component into theme/components/Breadcrumbs.js,
where it is picked up automatically — the same way as any built-in component.
To remove it later, just delete that file.
Use it as a homepage section
Add an entry to the sections: list in jprot.config.js:
sections: [
{ component: 'Breadcrumbs', title: 'Breadcrumbs' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::Breadcrumbs items='[{"label":"Home","url":"/"},{"label":"Docs","url":"/docs"},{"label":"This page","url":""}]'Props
| Prop | Type | Note |
|---|---|---|
items | array | [{ label, url }] |