Command Palette

Search for a command to run...

0GitHub stars
Components

Split Accordion

A sleek, detaching accordion where the active item smoothly splits away from adjacent rows into an elevated rounded card.

Loading…
Dependencies (2)

Features

  • Active item physically splits away from adjacent rows with spring physics.
  • Merged border-radius geometry that adapts dynamically based on open state.
  • Supports single-open or multi-open collapsible modes.
  • Keyboard accessible navigation with Arrow keys, Home, and End.

Use cases

  • Interactive FAQ sections on landing and pricing pages.
  • Feature deep dives and collapsible capability overviews.
  • Settings panels and complex configuration groups.

Installation

pnpm dlx shadcn@latest add @abushaidislam/split-accordion

API reference

SplitAccordion

Prop

Type

License and usage

  • Free to use and modify in both personal and commercial projects.
  • Attribution is appreciated but not required.
  • Released under the MIT License.

Was this helpful?

Command Palette

Search for a command to run...