# FAQ smooth

> The FAQ Accordion is designed to solve the common issue of janky accordions. Instead of using JavaScript to animate height: auto (which causes layout thrashing), it leverages the modern CSS grid-template-rows trick. By explicitly defining transition-\[grid-template-rows,o

- Author: [HARIOM PANDIT](https://21st.dev/@hari7261)
- Library: hari7261
- License: mit
- npm dependencies: lucide-react
- Live preview: https://21st.dev/@hari7261/components/faq-smooth

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/hari7261/faq-smooth?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
