Streak counter
Daily streak with a rolling count, a seven-day strip, best-streak record, milestone badges and a keep-it-going freeze action, with original glyphs.
Preview
Daily practice: 12 days, best 21, today not done yet
Keep it going. 2 rest days left
Milestones2 more for 14 this run
- 3 days, earned
- 7 days, earned
- 14 days, earned
- 30 days, locked
- 100 days, locked
Today
Compact
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| history | { date: string; done?: boolean; frozen?: boolean }[] | — | Day records (ISO dates); missing days count as missed. |
| today | string | — | Today's ISO date, passed in so render stays deterministic. |
| label | string | "Daily streak" | What is being kept up; names the region. |
| best | number | longest run | All-time best streak. |
| milestones | number[] | [3, 7, 14, 30, 100] | Streak lengths that earn a badge. |
| freezes | number | 0 | Freezes the user can spend. |
| onFreeze | () => void | — | Spend a freeze on today; omit to hide the action. |
| variant | "card" | "compact" | "card" | Full card or a compact pill. |
| locale | string | "en-US" | Locale for weekday names. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
