Site header
A top navigation bar with logo, links and actions.
Customer story · Ostra Freight
Closing September in two days, not nine
Ostra moved 4,210 monthly bank lines onto Halden in a week, and closed September in two days.

Ostra moved 4,210 monthly bank lines onto Halden in a week. Matching now runs overnight, and the finance team spends the first morning of the close on exceptions only.
When to use
- The top of a public website.
When not to use
- An application with a sidebar.
Installation
pnpm dlx shadcn@latest add @caliper/site-header
Adds its 5 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
SiteHeader
7 props
Keyboard
- Escape
- Closes or cancels, then returns focus to where it came from.
Accessibility
It is built on native elements and keeps aria-label, aria-hidden, aria-current, aria-expanded and aria-controls in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/site-header.mdThe index of every part is at /llms.txt.