---
title: Status Button
description: A button that transitions the status change. Click to see the animation.
author: harimanok_
labels: ["requires interaction", "click"]
---

<ComponentPreview name="button-status-button--docs" />

## Installation

<Steps>

<Step>Install dependencies</Step>

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

<Step>Run the following command</Step>

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

```bash
mkdir -p components/animata/button && touch components/animata/button/status-button.tsx
```

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

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/button/status-button.tsx

```

</Steps>

## Credits

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

Inspired by https://animations.dev/gallery
