Sleep Summary

Overnight sleep card with a score pill, stacked stage bar, and a four-column stage breakdown.

Sleep7h 41m
Score 86
Awake0h 18m
Light4h 0m
Deep1h 35m
REM1h 48m

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Health7 } from "@/components/beste/piece/health7";

<Health7
  totalHours="7h 41m"
  score={86}
  stages={[
    {
      "label": "Awake",
      "minutes": 18,
      "class": "bg-rose-400",
      "text": "text-rose-500"
    },
    {
      "label": "Light",
      "minutes": 240,
      "class": "bg-sky-400",
      "text": "text-sky-500"
    },
    {
      "label": "Deep",
      "minutes": 95,
      "class": "bg-indigo-500",
      "text": "text-indigo-500"
    },
    {
      "label": "REM",
      "minutes": 108,
      "class": "bg-violet-500",
      "text": "text-violet-500"
    }
  ]}
  label="Sleep"
  tone="violet"
/>

More Health pieces

View all Health
Sleep scheduleTarget 8 hours
Bedtime23:15
Wake06:45
6 days on schedule this week

Sleep planner card bracketing bedtime and wake times with sunset and sunrise icons and a consistency bar.

HRV ยท overnight
68 msRecovery looks strong

Overnight HRV score card with a large value, positive status blurb, and a seven-day emerald bar chart.

Lisinopril10 mg ยท 1 tab daily
Morning with food
8 of 30 leftRefill on May 12
Ships from Green Cross Pharmacy

Prescription

health28

Prescription card with a dose line, schedule note, supply bar that flips rose when low, and refill date.

๐Ÿ™‚
Mood todayGood
4 of 7 days above neutral this week.

Mood Tracker

health17

Mood log card with a big emoji for today and a seven-day row of color-keyed tiny face tiles.

Morning vitalsTue, Apr 22 ยท 08:14
Heart72bpm
Temp36.6ยฐC
BP118/76mmHg
SpOโ‚‚98%

Vitals Grid

health10

Daily check-in card summarizing heart, temperature, blood pressure, and SpO2 in a 2ร—2 tile grid.

Heart rate
72bpm
Resting ยท Normal2 min ago

Heart Rate

health1

Resting bpm card with a pulsing heart tile, large value, and a mini ECG trace underneath.