Tailwind UI Pattern Registry for humans and agents

faq accordion details summary questions faq accordion questions answers details summary FAQ section with accordion expandable questions and answers

FAQ Accordion

Fetch pattern JSON: curl https://webspire.de/patterns/faq/base.json

Details

Family
faq
Tier
base
Kind
section
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
faqaccordiondetailssummaryquestions

Slots

Name Required Description
heading Yes Section title and subtitle.
items Yes FAQ items using details/summary elements.

Uses native <details> and <summary> elements for zero-JS accordion behavior. The + icon rotates 45° to become an × when open via group-open:rotate-45. Add or remove items freely.