Header
Header Centered
Sticky header with the brand on the left, navigation centered and a call to action on the right. It clears and fades on scroll down; link labels roll on hover.
Layout and motion from the Nitip template — see it in contextTry it in the page builderBlocks come with Pro and Ultimate
Preview every block now, in any theme and at any width. The source, the install command and your registry token come with a Pro or Ultimate plan.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| brand | { name, href, logo? } | Northstar | Shown on the left; logo (any node) replaces the name. |
| links | { label, href }[] | 5 links | Navigation, centered from 768px, in the menu below. |
| cta | { label, href } | Contact us | Button at the right from 1024px, in the menu below. A button may set variant: "default" (filled) or "outline"; left out, it looks as described. |
| current | string | usePathname() | Current path. A link is current on its page and on pages below it (/projects/x under /projects). |
| overlay | boolean | false | For a dark hero: fixed and transparent with a white brand and menu button while the page is at the top, solid once it scrolls. Takes no space: give the hero under it top padding (4rem, 5rem from 768px). |
| overlayUntil | string | — | With overlay: the id of a section further down; the bar stays transparent until that section's top reaches the middle of the window (Catchup's home). |
| className | string | — | Classes for the <header>. |
- Sticky, so it needs no spacer; put it first on the page, outside <main>.
- From 1024px, scrolling down more than 4px (after the first 20px) clears the background and fades the brand and the button out in 400ms; scrolling up brings them back.
- Hover rolls a link's label up while a copy rolls in from below (spring bounce 0.2, 0.4s, 24px). The current link is filled and doesn't roll.
- Below 768px the menu button opens the links and the button with a height reveal; choosing a link or pressing Escape closes it.
- Reduced motion: the roll and the reveal are skipped by MotionConfig; the fades are CSS transitions turned off with motion-reduce.











