---
title: Swipe Button
description: Swipe button
author: SuminGurung9
---

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

## Installation

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

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

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

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

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

```

</Steps>

## Credits

Built by [Sumin Gurung](https://github.com/GrgSumin)
