---
title: Ticker
description: A ticker component that animates number on change
author: harimanok_
---

<ComponentPreview name="text-ticker--docs" />

## Installation

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

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

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

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/text/ticker.tsx

```

</Steps>

## Credits

Built by [hari](https://github.com/hari)
