A site header with mega menus, live product previews and a nav that traces the current page.
Import it and pass your content. The props that matter most are listed next.
import { SiteHeader } from "@/components/ui/notchset/blocks/site-header";
export function Header({ page }: { page: string }) {
return (
<SiteHeader
brand={{ name: "Relay", href: "/" }}
items={[
{
id: "product",
label: "Product",
menu: {
kind: "products",
heading: "THE PLATFORM",
items: [{ id: "traces", tile: "TR", name: "Traces", description: "Every step of every run.", href: "/traces" }],
},
},
{ id: "pricing", label: "Pricing", href: "/pricing" },
]}
current={page}
signIn={{ label: "Sign in", href: "/login" }}
primary={{ label: "START FREE", href: "/signup" }}
/>
);
}variant–
"mega" | "simple" | "centered"Mega opens panels; simple is links only; centered puts the logo in the middle.
items–
{ id, label, href?, menu? }[]menu is { kind: 'products', heading, items: { id, tile, name, description, href, preview? }[] } or { kind: 'columns', columns, featured? }.
current / onNavigate–
string / (id) => voidThe current page's item; changing it sends the pulse along the trace.
brand / signIn / primary–
{ name, href, mark? } / { label, href } / { label, href?, onPress?, workingLabel? }The logo, the quiet sign-in and the primary key (onPress shows the scanner until it settles).
scrollRoot–
RefObject<HTMLElement>What scrolls, if not the window (the bar shrinks past 12px).
SiteHeaderdata-slot="site-header"
The header, its panels and the phone sheet.
components/ui/notchset/blocks/site-header.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/site-headerNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release
Pro is in early access.