Breadcrumb
The Breadcrumb component provides you with navigation breadcrumbs for your application.
Live Examples
Storybook: components-breadcrumb--default
Storybook: components-breadcrumb--with-home
Storybook: components-breadcrumb--compact
Code Examples
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '@nostromo/ui-core'
export default function BreadcrumbExample() {
return (
<Breadcrumb>
<BreadcrumbList>
<BreadcrumbItem>
<BreadcrumbLink href="/">Home</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbLink href="/components">Components</BreadcrumbLink>
</BreadcrumbItem>
<BreadcrumbSeparator />
<BreadcrumbItem>
<BreadcrumbPage>Breadcrumb</BreadcrumbPage>
</BreadcrumbItem>
</BreadcrumbList>
</Breadcrumb>
)
}Props
All Breadcrumb components accept standard HTML props.