A week of sleep as columns of lights, one light per hour, with a dashed goal line. Click or arrow through the nights to pick one and see its hours, bedtime and how far it sits from the goal.
Set your access key from API keys as NEXTUI_TOKEN in .env.local and add the @nextui namespace below to components.json once. Then every item installs by name. Each install counts as a copy on a free account.
$pnpm dlx shadcn@latest add @nextui/sleep-bars
1{2"registries": {3"@nextui": {4"url": "https://nextui.dev/r/{name}.json",5"headers": { "Authorization": "Bearer ${NEXTUI_TOKEN}" }6}7}8}
Sign in to see the code
Preview it freely. A free account copies code and prompts a few times a day.