FAQ Section
A styled FAQ section with expandable accordion items, custom plus/minus icons, and configurable heading.
Questions? We're glad you asked.
Features
- Accordion-based — Built on Saturation UI Accordion component
- Custom icons — Plus/minus toggle icons with smooth transitions
- Configurable heading — Title and subtitle with sensible defaults
- Single or multiple mode — Toggle between one-at-a-time or allow-all
- Theme-aware — Uses muted/border/foreground CSS variables
- Responsive — Max-width 3xl with full-width on mobile
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| items | { question: string; answer: string }[] | - | Array of Q&A pairs |
| title | string | "Frequently Asked Questions" | Section heading |
| subtitle | string | - | Section subheading |
| multiple | boolean | false | Allow multiple items open at once |
| className | string | - | Additional className for the section |
Components Used
accordion