---
title: Comment Reply Card
description: This new React component allows users to submit comments through an input field. Once a comment is submitted, it dynamically appears at the top of the comment list.
author: m_jinprince
---

<ComponentPreview name="card-comment-reply-card--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 `comment-reply-card.tsx` inside the `components/animata/card` directory.

```bash
mkdir -p components/animata/card && touch components/animata/card/comment-reply-card.tsx
```

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

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/card/comment-reply-card.tsx

```

</Steps>

## Credits

Built by [Prince Yadav](https://github.com/prince981620)
