App UI kits › Pulse › Sleep
Drag the moon and sun around a 24-hour dial; the arc, hours slept and the night sky all follow.
Sleep is a screen from Pulse, an app ui kit with 12 screens: A complete fitness app kit with a pulse in every screen. Price: $5 for the whole pack.
Built with: circular range dial, sky follows, stage chart draw.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
bed | number | 23:00 | Bedtime in minutes after midnight. Default 23:00. |
wake | number | 07:00 | Wake time in minutes after midnight. Default 07:00. |
autoplay | boolean | Showcase mode: the handles drift by themselves. | |
onChange | (bed: number, wake: number) => void |
destroy(): voidimport PulseSleep from './PulseSleep';
<PulseSleep />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Fitness app UI, Running app UI.