Charts
Score Gauge
A score built from parts: a segmented ring around the total, with each part's points listed below.
idle
Usage
Examples
Sleep score
Each part's arc spans its share of the maximum score; the list shows its points.
Recommendations
| Guidance | Practice |
|---|---|
| Do | Name the score's meaning beside it, such as "Excellent", and keep part labels short. |
Usage boundaries
| Guidance | Boundary |
|---|---|
| Scope | The score is the sum of part values; use it only when parts add up to a meaningful total. |
API reference
Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.
| Prop | Type | Default | Description |
|---|---|---|---|
| | Required | One to six parts. Each arc spans its max's share of the ring and fills to its value. |
| | Required | Names the score. |
| | "en-US" | Formats the score and part points. |