---
title: Faq
description: its an faq accordion that looks like an chating interface with smooth animations
author: anshu_code
---

<ComponentPreview name="accordion-faq--docs" />

## Installation

<Steps>
<Step>Install dependencies</Step>

```bash
npm install framer-motion lucide-react
```

<Step>Run the following command</Step>

It will create a new file `faq.tsx` inside the `components/animata/accordion` directory.

```bash
mkdir -p components/animata/accordion && touch components/animata/accordion/faq.tsx
```

<Step>Paste the code</Step>{" "}

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/accordion/faq.tsx

```

</Steps>

## Credits

Built by [Anshuman](https://github.com/anshuman008)
