Stopwatch
Stopwatch with lit-key start, rolling mm:ss.cc, laps with best/slowest marks, and a countdown timer mode with a progress ring.
Preview
- Lap 400:19.13
- Lap 3Slowest00:23.11
- Lap 2Best00:19.87
- Lap 100:21.34
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| mode | "stopwatch" | "timer" | "stopwatch" | Count up with laps, or count down with a ring. |
| duration | number | 300000 | Timer length in ms. |
| presets | number[] | 1, 5, 10 min | Timer length chips shown while idle. |
| initialElapsed | number | 0 | Elapsed ms to start from; gives a stable first paint. |
| defaultLaps | number[] | [] | Lap lengths in ms, oldest first. |
| autoStart | boolean | false | Start running on mount. |
| label | string | "Stopwatch" / "Timer" | Accessible name of the region. |
| onLap | (lapMs: number, lapNumber: number) => void | — | Called when a lap is recorded. |
| onComplete | () => void | — | Called when the timer reaches zero. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
