Get the kit
Components / Navigation & overlaysv1.0.0 · updated 2026-09-25

Free · MIT

The thumb measures the active tab and slides to it on the punch curve. Arrow keys move between tabs; the pill variant crossfades its panel.

tabssegmentedkeyboard
Free

Live components, real props, nothing staged.

Customize
Variant
Accent

Install

$ npm install motion
  1. Copy Tabs.tsx from the Code tab into components/brazen/.
  2. Make sure the Brazen tokens are loaded (tokens.css); colours and timing come from them.
  3. Import it and pass the props below.

Props 3

PropTypeDefaultDescription
items{ id; label; content }[]—Tabs and their panels.
variant"pill" | "segmented""pill"Visual style.
defaultIdstring—Initially active tab.

Features

  • Pill and segmented variants
  • Arrow-key navigation
  • Animated panels

Dependencies

  • motion@^14.0.0
  • react@>=19 peer

Works with

  • React 19
  • Next.js 15+
  • TypeScript

Reduced motion

Thumb and panels switch instantly.

Related