Accordion
Collapsible content sections with Item, Title, and Description sub-components. Supports defaultOpen and disabled per item.
Design Language Comparison
Neobrutalism
A bold design language with thick borders, flat shadows, and high contrast.
Each item manages its own open/close state with React useState.
Shadcn-inspired
Yes. Each button has proper aria-expanded and keyboard support.
Absolutely. Add "use client" and import directly.
Flowbite-inspired
A design system built on Tailwind CSS with clean, accessible UI components.
Override Tailwind classes via className props or extend the component.
Glassmorphism
Translucent blur panels with subtle white borders.
backdrop-blur-md requires a colourful background behind the element.
Material Design 3
Purple tonal surfaces, pill radius, soft elevation.
A lavender-tinted background derived from the primary colour.
Neumorphism
Soft dual-tone shadows on a matching background.
The shadow effect needs the component colour to blend with its container.
Neobrutalism
Thick border, flat box shadow, yellow active hover on title.
A bold design language with thick borders, flat shadows, and high contrast.
Each item manages its own open/close state with React useState.
Shadcn-inspired
Zinc border, underline hover on title, minimal radius.
Yes. Each button has proper aria-expanded and keyboard support.
Absolutely. Add "use client" and import directly.
Flowbite-inspired
Gray border, soft shadow, gray-50 description panel.
A design system built on Tailwind CSS with clean, accessible UI components.
Override Tailwind classes via className props or extend the component.
Glassmorphism
Glass panels with backdrop blur and translucent chevron on gradient background.
Translucent blur panels with subtle white borders.
backdrop-blur-md requires a colourful background behind the element.
Material Design 3
Tonal header fill when open, purple chevron, clean dividers.
Purple tonal surfaces, pill radius, soft elevation.
A lavender-tinted background derived from the primary colour.
Neumorphism
Raised panel; active header gets concave inset, no border.
Soft dual-tone shadows on a matching background.
The shadow effect needs the component colour to blend with its container.
Last updated on