Breadcrumb
The small link-colored line above a page title, pointing back to the parent page.
Usage
Link color, text-size.lg, with spacing.4 below. Without href it’s plain text.
<Breadcrumb href="/projects">Project</Breadcrumb>
<Breadcrumb as="h1">Contact</Breadcrumb> <!-- when it is the page title -->Props
| Prop | Type | Default | Notes |
|---|---|---|---|
href | string | — | Renders a link when set |
as | 'span' | 'p' | 'h1' | 'span' | Element when there’s no href |