---
title: Underline hover text
description: A customizable text component with an underline hover effect.
labels: ["requires interaction", "hover"]
author: RBChiranjibi
---

<ComponentPreview name="text-underline-hover-text--docs" />

## Installation

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

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

```bash
mkdir -p components/animata/text && touch components/animata/text/underline-hover-text.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/text/underline-hover-text.tsx

```

</Steps>

## Credits

Built by [Chiranjibi Ranabhat](https://github.com/chiranjibi10)
