Skip to content

Navbar

The site header with links, theme switch and one action.

Navigation5 variants2 statesLight + DarkWide · Medium · Compactv1.0
Live preview · click to try it

Variants

5 named variants. Layer names match the names below.

WideNavbar / Wide
Wide TransparentNavbar / Wide Transparent
MediumNavbar / Medium
Compact ClosedNavbar / Compact Closed
Compact OpenNavbar / Compact Open

States

Navbar / Top
Navbar / Scrolled

Usage

Do

  • Every page.

Don't

  • Long link lists; keep it to five links.

Properties

PropertyType or optionsDefault
VariantWide · Wide Transparent · Medium · Compact Closed · Compact OpenWide
Current pageStringComponents

Styles it uses

Surface/PageInk/PrimaryAccent/AcidLine/StrongSurface/Raised

Text: Nav · Button M

Accessibility

  • Keyboard reachable with a visible 3px State/Focus ring.
  • Interactive parts use real buttons and links with accessible names.

Create a free website with Framer, the website builder loved by startups, designers and agencies.