sigilUI

Navbar

Arrange brand navigation and primary page actions.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { Navbar, NavbarLogo, NavbarLinks, NavbarActions } from "@sigil-ui/components";

Usage

<Navbar>
  <NavbarLogo>Sigil</NavbarLogo>
  <NavbarLinks>
    <a href="#">Docs</a>
    <a href="#">Components</a>
  </NavbarLinks>
  <NavbarActions>
    <Button size="sm">Get Started</Button>
  </NavbarActions>
</Navbar>

Sub-components

This component includes the following parts:

  • <NavbarLogo>
  • <NavbarLinks>
  • <NavbarActions>

Props

PropTypeDefaultDescription
stickyboolean—Make the navbar sticky at the top.
transparentboolean—Transparent background (useful for hero overlays).

Token integration

CSS VariablePurpose
--s-navbar-padding-xNavbar padding x
--s-navbar-heightNavbar height
--s-navbar-shadowNavbar shadow
--s-backgroundBackground
--s-navbar-backdrop-blurNavbar backdrop blur
--s-borderBorder
--s-border-styleBorder style
--s-navbar-logo-gapNavbar logo gap
--s-textText
--s-navbar-logo-heightNavbar logo height
--s-navbar-item-gapNavbar item gap