Accordion & Collapsible Components
Animated accordions and collapsible sections for React and Tailwind CSS, including FAQ layouts. Smooth height animation, keyboard support and proper ARIA attributes.
FAQ
How do I animate an accordion's height?
Animate grid-template-rows from 0fr to 1fr, or measure the content height and transition to it. Both avoid janky max-height hacks.