---
title: "Sleep tracking animated icon"
description: "Sleep tracking animated icon (Health & Fitness). Light: the two Z marks shrink and breathe back in sequence beside the moon. Strong: the moon rocks like a cradle while each Z pops out of nothing, overshoots to 116% and settles."
canonical: https://generativeicons.com/icons/sleep-tracking/
---

# Sleep tracking animated icon

Light: the two Z marks shrink and breathe back in sequence beside the moon. Strong: the moon rocks like a cradle while each Z pops out of nothing, overshoots to 116% and settles.

- Id: `sleep-tracking`
- Category: Health & Fitness
- Search terms: zzz, bedtime, asleep, sleeping, nap, rest, good night, insomnia, sleep cycle, sleep quality, sleep score
- One action, back to rest
- 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/sleep-tracking.lottie (dotLottie, 6667 bytes, sha256 d27ddfddaaf861dd20bf98e36275e86359915ea12f689962e56ad95f2db1ef96)
- License: MIT

## Install

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

## React

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

export function SleepTrackingIcon() {
  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/sleep-tracking.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/sleep-tracking/ · https://generativeicons.com/api/icons/sleep-tracking
