sigilUI

Header

Group the introductory content of a page or section.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Header, Button } from "@sigil-ui/components";

Usage

<Header sticky={false} className="flex items-center justify-between px-[var(--s-space-16)]"><strong>Workspace</strong><Button size="sm">New project</Button></Header>

Props

PropTypeDefaultDescription
stickybooleantrueKeep the header at the top while scrolling.
blurbooleantrueBlur content behind the header.
borderedbooleantrueShow the bottom border.
heightnumber | stringNavbar height tokenOverride the header height.
childrenReactNode—Header content.

Token integration

CSS VariablePurpose
--s-navbar-backdrop-blurNavbar backdrop blur
--s-navbar-heightNavbar height
--s-borderBorder
--s-backgroundBackground
--s-navbar-bg-opacityNavbar bg opacity