# Sleep Tracker

Review last night on a sleep chart you can scrub by finger, the screen brightening toward morning as you near wake time. Stage breakdown, a week of bedtimes, vitals and a smart alarm follow.

> Screen template — React Native, Expo Go compatible.

## Install

```bash
npx @lumioui/cli add pro/health-sleep-tracker
```

## Import

```tsx
import { SleepTrackerScreen } from "@/screens/health/sleep-tracker";
```

## Registry dependencies

- `animated-number` — /components/animated-number
- `icon` — /components/icon
- `progress-ring` — /components/progress-ring
- `sparkline` — /components/sparkline
- `switch` — /components/switch
- `text` — /components/text

## Native packages

- react-native-reanimated@*
- react-native-safe-area-context@*
- react-native-svg@*

## Icons rendered

- `chevron-left` — /icons.html?i=chevron-left
- `calendar` — /icons.html?i=calendar
- `moon` — /icons.html?i=moon
- `bell` — /icons.html?i=bell

Source: https://lumioui.com/screens/health-sleep-tracker