FAQ Accordion
An editorial FAQ: a big heading, then numbered questions between hairlines, no card. Press one and its answer opens on a spring, the questions below carried down with it rather than jumping, while a thin lilac rule grows down beside the answer and the plus turns into a minus. Open another and the first gives its room back at the same moment, or let several stay open. Shut answers stay findable: the browser's find-in-page opens the one it finds your words in. Arrow keys move between questions.
- accordion
- faq
- disclosure
- content
- accessible
Code
Copy-paste source. No packages to install.
Sign up to copy FAQ Accordion
Free accounts include one component unlock every month — in all four frameworks.