---
title: Ripple Button
description: Button with ripple effect on mouse position.
labels: ["requires interaction", "hover"]
author: Abhi_Hertz
---

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

## Installation

<Steps>
<Step>Run the following command</Step>

It will create a new file called `ripple-button.tsx` inside the `compoents/animata/button` directory.

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

<Step>Paste the code</Step>

Open the newly create file and paste the following code:

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

```

</Steps>

## Credits

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