---
title: "Hourglass animated icon"
description: "Hourglass animated icon (Feedback & status). Sand drains through a fixed neck into the lower chamber; Strong makes the transfer readable in two stages."
canonical: https://generativeicons.com/icons/hourglass/
---

# Hourglass animated icon

Sand drains through a fixed neck into the lower chamber; Strong makes the transfer readable in two stages.

- Id: `hourglass`
- Category: Feedback & status
- Search terms: sand timer, sandglass, hour glass, egg timer, timer, waiting, time left, running out, patience
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/hourglass.lottie (dotLottie, 12702 bytes, sha256 92f074ec004f9d984fc14f1cc731b79ab77a0ff26a1e569c57e4d9383d7a5ad1)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add hourglass
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/hourglass.mjs';

export function HourglassIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/hourglass.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/hourglass/ · https://generativeicons.com/api/icons/hourglass
