# FAQ with AI Ask

> A tabbed FAQ with a gliding topic indicator, staggered accordion and an “Ask the AI” box for questions that aren’t listed. While typing it suggests matching FAQ questions; submitted questions go to your `onAsk` handler and the answer streams in. Themed with shadcn CSS variables for light and dark mode, keyboard accessible and responsive.

- Author: [Martin Geltl](https://21st.dev/@martingeltl21)
- License: mit
- Live preview: https://21st.dev/@martingeltl21/components/ai-faq

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/martingeltl21/ai-faq?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
