FAQ 01
Minimal wide accordion with generous spacing and refined disclosure transitions.
Requirements
HTML, CSS, JavaScript
Dependencies
None
Usage
Copy index.html, styles.css and script.js into your project.
About FAQ 01
FAQ 01 is an FAQ section in the FAQ Sections collection, available in HTML + CSS + JavaScript and React + TypeScript + Tailwind CSS. Last updated August 19, 2026.
- faq
- accordion
- minimal
- premium
- support
What the code includes
HTML + CSS + JavaScript
3 files: index.html, styles.css, script.js
- Behavior is handled in script.js.
- ARIA in the markup: role region; aria-label, aria-expanded, aria-controls, aria-labelledby.
- HTML elements used: section, button, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive CSS breakpoints at 640px.
React + TypeScript + Tailwind CSS
3 files: FAQ01.jsx, FAQ01.types.ts, FAQ01.tailwind.css
- Typed data shapes: FAQItem.
- Uses React hooks: useId, useState.
- ARIA in the markup: role region; aria-expanded, aria-controls, aria-labelledby.
- HTML elements used: section, button, svg.
- Includes a prefers-reduced-motion rule for its animation.
- Responsive Tailwind breakpoints used: sm, lg.