Semaine de lancement50 % sur un an d’AuteurVoir les offres
EspacesPasser à Pro
Tous les composants

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.

Montré dans
Last night
7h 34m
REM1h 52mCore4h 06mDeep1h 36m
FitnessHealthMusicMaps

Drag along the night to read any moment.

Ajoutez-le à votre app

$npx velvo add sleep-widget

Pour Claude Code, Cursor ou tout projet avec un terminal.

À utiliser pour

  • Sleep, recovery and wellness apps.

Pas pour

  • Nights with no stage data. Show the total alone.

Props

Lues dans le TypeScript du composant lui-même, donc toujours à jour.

PropTypePar défaut
night[SleepStage, number][]NIGHT
bedtimenumber23 * 60 + 12
sizeWidgetSize'medium'

Specs

Category
Widgets
Tier
Pro
Built with
React and TypeScript
Files
16
Size
365 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.

Tags

widgetsgesturemobiletimeproreact
SuivantStat card