# Breadcrumb > Navigation breadcrumb trail for hierarchical page structure Source: https://shellui.dev/docs/v0.3/components/layout/breadcrumb The Breadcrumb component displays the user's current location within a site hierarchy, allowing quick navigation to parent pages. ## Installation ```bash shellui add breadcrumb ``` ## Basic Usage ```razor Home Documentation Components ``` ## With Links Non-last items render as clickable links when `Href` is provided: ```razor Home Products Electronics Headphones ``` ## Dynamic Breadcrumbs Generate breadcrumbs from route data: ```razor @foreach (var (segment, index) in breadcrumbs.Select((s, i) => (s, i))) { @segment.Label } @code { private List breadcrumbs = new() { new("Home", "/"), new("Settings", "/settings"), new("Profile", "/settings/profile") }; record BreadcrumbSegment(string Label, string Href); } ``` ## Custom Separator The default separator is `/`. You can customize it via CSS: ```razor Home Docs Breadcrumb ``` ## API Reference ### Breadcrumb | Property | Type | Default | Description | |----------|------|---------|-------------| | `ChildContent` | `RenderFragment` | `null` | BreadcrumbItem children | | `Class` | `string?` | `null` | Additional CSS classes | ### BreadcrumbItem | Property | Type | Default | Description | |----------|------|---------|-------------| | `Href` | `string?` | `null` | Navigation link (renders as anchor when set) | | `IsLast` | `bool` | `false` | Marks the current/last item (no link styling) | | `ChildContent` | `RenderFragment` | `null` | Item label content | | `Class` | `string?` | `null` | Additional CSS classes | ## Accessibility The Breadcrumb component includes: - `nav` element with `aria-label="breadcrumb"` - Ordered list (`ol`) for proper structure - `aria-current="page"` on the last item - Keyboard navigable links - Screen reader friendly separator handling