---
title: Notice Card
description: A card component for displaying important notices with an accept toggle.
labels: ["requires interaction", "toggle"]
author: AE-Hertz
---

<ComponentPreview name="card-notice-card--docs" />

## Installation

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

```bash
npm install framer-motion
```

<Step>Run the following command</Step>

It will create a new file `notice-card.tsx` inside the `components/animata/card` directory.

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

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```tsx file=<rootDir>/animata/card/notice-card.tsx
```

</Steps>

## Credits

Built by [Abhinandan](https://github.com/AE-Hertz)
