Skip to content

Sidebar Nav

A vertical list of sections, with a collapsed icon rail for narrow widths.

Navigation2 variants7 statesLight + DarkWide · Medium · Compactv1.0
Live preview · click to try it

Variants

2 named variants. Layer names match the names below.

ExpandedSidebar Nav / Expanded
CollapsedSidebar Nav / Collapsed

States

Sidebar Nav / Default
Sidebar Nav / Active
Sidebar Nav / Hover
Sidebar Nav / Focus
Sidebar Nav / Disabled
Sidebar Nav / Loading
Sidebar Nav / Error

Usage

Do

  • A product or docs shell with several sections on every page.

Don't

  • A marketing site with a few pages; use the Navbar.

Properties

PropertyType or optionsDefault
VariantExpanded · CollapsedExpanded
ItemsArray of linksLibrary sections
ActiveItem keyComponents

Styles it uses

Surface/PageSurface/TileAccent/SoftInk/PrimaryInk/MutedLine/FaintState/Focus

Text: Nav · Label

Accessibility

  • The active item uses aria-current.
  • Collapsed items keep an accessible name.
  • Targets are at least 44px tall, with a 3px State/Focus ring.

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