---
title: Slide Arrow Button
description: An arrow button which slides on hover
author: wolfofdalalst
labels: ["requires interaction", "hover"]
---

<ComponentPreview name="button-slide-arrow-button--docs" />

## Installation

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

```bash
npm install lucide-react
```

<Step>Run the following command</Step>

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

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

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

Open the newly created file and paste the following code:

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

```

</Steps>

## Credits

Built by [Ayush Gupta](https://github.com/wolfofdalalst)
