Skip to content

Header

Header Split

Sticky header with brand and links at the left and two rolling-label buttons at the right; menu inside the bar below 1024px.

Layout and motion from the Findit template — see it in contextTry it in the page builder

Blocks 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

PropTypeDefaultDescription
brand{ name, href, logo? }Harbor HomesAt the left; logo (any node) replaces the name.
links{ label, href }[]5 linksBeside the brand from 1024px, in the menu below.
actions[{ label, href }, { label, href }?]—One or two: the first filled, the second outlined. At the right from 1024px, in the menu below. A button may set variant: "default" (filled) or "outline"; left out, it looks as described. [] leaves the actions out (Denzel).
currentstring""Path of the current page (pass usePathname()). A link is current on its page and below it.
align"start" | "end" | "center" | "split""start"From 1024px: the links right after the brand ("start"), at the right next to the actions ("end"), centred between the brand and the actions in three columns ("center"), or the brand in the middle with the actions at the left and the links at the right ("split", Lookis).
clock{ place, timeZone? }—A place and its time ("Paris – 8:53 PM", filled in by the browser): before the actions from 1024px with align="split", and last in the open menu. timeZone is an IANA zone; the visitor's own when left out.
overlaybooleanfalseFor a dark hero: fixed and transparent with white content while the page is at the top, solid once it scrolls. Takes no space: give the hero under it top padding (4rem, 4.5rem from 1024px).
overlayUntilstring—With overlay: the id of a section further down. The bar stays transparent until that section's top reaches the middle of the window, instead of turning solid on the first scroll.
search{ label?, placeholder?, items: { title, href, summary?, keywords? }[] }—Titen's project search: a magnifier before the actions (with its label from 1280px) opens a panel that lists the items holding every word typed, title matches first. Left out, the bar has no search. items[].keywords: words an item is also found by, not shown (a category, an author). The panel is Framebrick UI's search-dialog: from 640px it grows from 95% on a spring; on phones it is a bar across the top that drops 10px.
socials{ label, href, icon? }[]—Social links as small round icons (the icon, or the network's initials) before the search from 1024px, and under the links in the open menu (Denzel).
links[].menu{ columns: { title?, look?: "list" | "posts", items: { label, href, text?, image?, date? }[], more? }[] }—Kendi's Categories: from 1024px the link opens a panel of up to two columns under it (Framebrick UI menu-panel: hover, click or keys); list rows show a photo, the name and a description, posts rows a photo, the title and a date. In the phone menu the first column's items follow the link.
hideOnScrollbooleanfalseFitbricks: past the first 80px the bar slides up out of view while the page scrolls down and back after 4px up (400ms; at once with reduced motion); focus inside it or the open phone menu keeps it in view.
classNamestring—Classes for the <header>.
  • links[].menu (Kendi, v19): the panel stays open over the 10px gap and closes on Escape, a press outside or the focus leaving; its columns fade and slide in (0.4s). Kendi's icons are the items' photos here.
  • Sticky, with a line under the bar. Links go from muted to foreground on hover while a 1px line grows under them (spring bounce 0.2, 0.4s); the current link has no line.
  • Buttons roll their label on hover and focus (flip-button). Below 1024px the menu opens inside the bar by height; choosing a link or Escape closes it.
  • `overlay` (Titen): fixed to the top, no space taken. At the top of the page the bar is transparent with no line, the brand and menu button are white, the links white at 75% (full on hover and when current) and the actions white outlined buttons. Any scroll brings back the normal colours and line, and the top makes it transparent again (colours ease over 0.4s). The open phone menu is always solid.
  • `align="end"` moves the links to the right end of the row, 48px before the actions (Titen's desktop); `actions` may hold a single link, shown as the filled button.
  • `search` (Titen): the panel fades in over 0.2s above a black 50% overlay while the page holds still; focus moves into the field and back to the button on close. ↑ ↓ move the highlight, Enter opens it, Escape closes, Tab stays inside. The field is a combobox over a listbox, and a polite status says how many pages match once typing pauses; accents are ignored.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy