Skip to content

Tabs

Switch between views of the same thing.

Navigation4 variants5 statesLight + DarkWide · Medium · Compactv1.0
Live preview · click to try it

Variants

4 named variants. Layer names match the names below.

UnderlineTabs / Underline
PillTabs / Pill
TrayTabs / Tray
VerticalTabs / Vertical

States

Tabs / Default
Tabs / Hover
Tabs / Active
Tabs / Focus
Tabs / Disabled

Usage

Do

  • Preview / Code, Monthly / Yearly, Light / Dark.

Don't

  • Moving between pages.

Properties

PropertyType or optionsDefault
VariantUnderline · Pill · Tray · VerticalUnderline
ItemsArray of StringLine, Tray, Numbered
ActiveStringLine

Styles it uses

Ink/PrimaryInk/SecondaryAccent/AcidLine/StrongSurface/Tile

Text: Label · Body

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.