# FAQ Accordion

https://fieldbook.lizardi.mx/components/faq-accordion-panels

Category: Data display
![Still of the FAQ Accordion component, a Fieldbook UI component in Data display.](https://fieldbook.lizardi.mx/thumbs/faq-accordion-panels.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/faq-accordion-panels-032413badd.mp4 (5 s, silent)

FAQ Accordion: A vertical list of question headings where opening one panel slides its answer into view and closes whichever panel was open before it.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| defaultOpen | select | first | Options: first, none |
| accentColor | color | #38BDF8 | No additional limit in the metadata. |
| transitionMs | number | 300 | From 150 to 600; step 50 |
| dividers | boolean | true | No additional limit in the metadata. |

## Usage notes

FAQ Accordion uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for FAQ Accordion?

FAQ Accordion is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does FAQ Accordion depend on?

The React metadata lists no additional npm dependencies beyond React.

### What accessibility details are visible in FAQ Accordion?

The React source for FAQ Accordion includes: native elements (button); attributes and handlers (aria-controls, aria-expanded, aria-hidden, aria-label, aria-labelledby); explicit roles (group, region). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does FAQ Accordion handle reduced motion?

FAQ Accordion reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "faq-accordion-panels",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Starred repos disclosure](https://fieldbook.lizardi.mx/components/starred-repos-disclosure)
- [Height Morph Accordion](https://fieldbook.lizardi.mx/components/height-morph-accordion)
- [Guide steps accordion](https://fieldbook.lizardi.mx/components/guide-steps-accordion)
- [Spring Push Collapsible](https://fieldbook.lizardi.mx/components/spring-push-collapsible)
- [Stacked FAQ accordion](https://fieldbook.lizardi.mx/components/stacked-faq-accordion)
- [Animated metric counter](https://fieldbook.lizardi.mx/components/animated-metric-counter)
