---
title: Text Border Animation
description: Border animation below text
labels: ["requires interaction", "hover"]
author: AashishKatila
---

<ComponentPreview name="text-text-border-animation--docs" />

## Installation

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

It will create a new file called `text-border-animation.tsx` inside the `components/animata/text` directory.

```bash
mkdir -p components/animata/text && touch components/animata/text/text-border-animation.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/text/text-border-animation.tsx

```

</Steps>

## Credits

Built by [Aashish Katila](https://github.com/AashishKatila)
