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

Free · MIT

Height animates with motion/react, the plus turns into a minus on the punch curve, and only one item is open at once.

faqdisclosure
Free

Brazen UI makes and sells everything listed here.

Customize
Accent

Install

$ npm install motion
  1. Copy Accordion.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 2

PropTypeDefaultDescription
items{ id; title; meta?; content }[]—Folds.
defaultOpenstring—Initially open id.

Features

  • Single open item
  • Animated height
  • aria-expanded wiring

Dependencies

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

Works with

  • React 19
  • Next.js 15+
  • TypeScript

Reduced motion

Opens instantly.

Related