---
title: Live score
description: Live score widget that displays the score of a match.
author: AashishKatila
---

<ComponentPreview name="widget-live-score--docs" />

## Installation

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

It will create a new file called `live-score.tsx` inside the `components/animata/widget` directory.

```bash
mkdir -p components/animata/widget && touch components/animata/widget/live-score.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/widget/live-score.tsx

```

</Steps>

## Credits

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