Breadcrumb
Where the page sits: its parents as links, the page last.
import { Breadcrumb } from "@forgeron/ui";import { Breadcrumb } from "@forgeron/ui";
export default function Default() {
return (
<Breadcrumb
items={[
{ label: "Operations", href: "#operations" },
{ label: "Issues", href: "#issues" },
{ label: "OPS-40" },
]}
/>
);
}import { Folder01Icon, Home01Icon } from "@forgeron/icons";
import { Breadcrumb } from "@forgeron/ui";
export default function Icons() {
return (
<Breadcrumb
items={[
{ label: "Drive", href: "#drive", icon: Home01Icon },
{ label: "Clients", href: "#clients", icon: Folder01Icon },
{ label: "Atelier Moreau — contract 2026.pdf" },
]}
/>
);
}API → Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | { label, href?, icon? }[] | — | Parents first; the last one is the page. |
className | string | — | Extra classes. |