Skip to main content
The SiteHeader component displays a sidebar toggle and breadcrumb navigation at the top of each dashboard page. Views set their breadcrumbs using the useBreadcrumbs composable.

Component Locations

Composable API

The useBreadcrumbs composable manages breadcrumb state across all views.

Returned Values

Usage Patterns

Static Pages

For pages with fixed titles like Dashboard or Settings:

Detail Pages with Dynamic Data

For pages that load data (team detail, server view), set breadcrumbs twice:

Nested Pages

For deeply nested pages, include the full path:

Header Layout

The SiteHeader renders in this order:
  1. SidebarTrigger - Toggle button for collapsing/expanding sidebar
  2. Separator - Vertical divider
  3. Breadcrumbs - Navigation trail with responsive visibility
On mobile, intermediate breadcrumb items are hidden, showing only the current page.

View Template

Views no longer pass a :title prop to DashboardLayout: