App UI kits › Dusk › Sleep log

Sleep log

Scrub last night’s stages minute by minute; totals add up, and the week sits against your goal with your notes.

Sleep log is a screen from Dusk, an app ui kit with 10 screens: A sleep and meditation app with a breath you can follow and sounds you stir. Price: $5 for the whole pack.

Built with: stage chart, week vs goal, tagged notes.

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.

Sleep log props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosDkPhotos
goalnumber7.5Hours of sleep you aim for. Default 7.5.

Methods on the ref

Use it in React

import DuskSleeplog from './DuskSleeplog';

<DuskSleeplog />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Dusk

Good for: Meditation app UI.