Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

View in Storybook
Installation

Install using the shadcn CLI with your preferred package manager

pnpm dlx shadcn@latest add @glass-ui/accordion
Usage

Example code for using this component

Props

Component props and variants

This component supports the following variants:

  • default — Standard styling
  • glass — Glassmorphism effect