---
title: Alarm Clock
description: It is a alarm clock
labels: ["requires interaction", "toggle"]
author: Sumingurung9
---

<ComponentPreview name="widget-alarm-clock--docs" />

## Installation

<Steps>

<Step>Update `tailwind.config.js`</Step>
```js
theme: {
    extend: {
     colors: {
        foreground: "hsl(var(--foreground))",
     }
    },
  },
```

<Step>Install dependencies</Step>

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

<Step>Run the following command</Step>

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

```bash
mkdir -p components/animata/widget && touch components/animata/widget/alarm-clock.tsx
```

<Step>Paste the code</Step>

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/widget/alarm-clock.tsx

```

</Steps>

## Credits

Built by [Sumin Gurung](https://github.com/GrgSumin)
