# Stacked FAQ accordion

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

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

Stacked FAQ accordion: A vertical list of questions that expand one at a time into an answer panel, with a chevron that rotates to match the open state.

## 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 |
| --- | --- | --- | --- |
| defaultOpenIndex | number | 0 | From 0 to 3; step 1 |
| allowMultipleOpen | boolean | true | No additional limit in the metadata. |
| accentColor | color | #FF6A1F | No additional limit in the metadata. |
| animationMs | number | 220 | From 150 to 500; step 10 |

## Usage notes

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

### Which frameworks are available for Stacked FAQ accordion?

Stacked 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 Stacked FAQ accordion depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Stacked FAQ accordion?

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

### How does Stacked FAQ accordion handle reduced motion?

Stacked FAQ accordion reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: durationS: prefersReducedMotion ? 0 : animationMs / 1000. 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": "stacked-faq-accordion",
    "framework": "react"
  }
}
```

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

## Related open components

- [FAQ Accordion](https://fieldbook.lizardi.mx/components/faq-accordion-panels)
- [Guide steps accordion](https://fieldbook.lizardi.mx/components/guide-steps-accordion)
- [Height Morph Accordion](https://fieldbook.lizardi.mx/components/height-morph-accordion)
- [Animated metric counter](https://fieldbook.lizardi.mx/components/animated-metric-counter)
- [Before/After Code Diff](https://fieldbook.lizardi.mx/components/before-after-code-diff)
- [Billing Ledger Table](https://fieldbook.lizardi.mx/components/billing-ledger-table)
