Sleep widget Pro
Last night as steps between Awake, REM, Core and Deep, drawn in from bedtime to morning. Drag along it to read the time and the stage at any moment.
Shown in
Last night
7h 34m23:127:04
REM1h 52mCore4h 06mDeep1h 36m
FitnessHealthMusicMaps
Drag along the night to read any moment.
Add it to your app
$
npx velvo add sleep-widgetFor Claude Code, Cursor or any project with a terminal.
Use it for
- Sleep, recovery and wellness apps.
Not for
- Nights with no stage data. Show the total alone.
Props
Read from the component’s own TypeScript, so it’s always current.
PropTypeDefault
night[SleepStage, number][]NIGHTbedtimenumber23 * 60 + 12sizeWidgetSize'medium'Specs
- Category
- Widgets
- Tier
- Pro
- Built with
- React and TypeScript
- Files
- 16
- Size
- 363 KB
- Needs
- framer-motion
- Install
- npx velvo add sleep-widget
- Works with
- Next.js, Vite, Remix, Expo web
Licence
Velvo Pro licence- Personal and commercial use
- Change it however you like
- No credit needed
Not for resale as a component or a UI kit.