# FAQ Chat Accordion

> FAQ Accordion component is a versatile and interactive UI element designed to display frequently asked questions in a collapsible format. It enhances user experience by allowing users to expand and collapse sections to view answers, making it ideal for FAQs, help sections, and more.  Features - Collapsible Sections: Users can expand or collapse sections to view or hide answers. - Animated Transitions: Smooth animations using Framer Motion for opening and closing sections. - Customizable Icons: Supports custom icons for each question, with flexible positioning. - Theming Support: Fully integrated with shadcn/ui theming for consistent styling. - Responsive Design: Adapts to different screen sizes for a seamless experience. - Accessible: Keyboard navigation and screen reader friendly. - Customizable Styles: Easily customize question and answer styles with className props.  Example Use Cases - FAQ Sections: Display frequently asked questions in a compact, user-friendly format. - Help Centers: Organize help topics and answers for easy navigation. - Product Details: Provide detailed product information in a structured manner. - Educational Content: Present educational material in a question-and-answer format.

- Author: [Anshuman](https://21st.dev/@anshuman008)
- License: mit
- Tags: Accordion, Landing Page, FAQ
- npm dependencies: lucide-react, framer-motion, @radix-ui/react-accordion
- Live preview: https://21st.dev/@anshuman008/components/faq-chat-accordion

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/anshuman008/faq-chat-accordion?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 · More like this: https://21st.dev/community/components/s/accordion.md
