Score pop
Game-like score feedback: +n pops that float up from the trigger, a combo multiplier for quick hits, and a rolling total.
Preview
Score
Combo×3Tap fast for a combo
Team Kestrel
Combo×2Which planet has the shortest day?
Round 3 of 5 · right answers in a row double upInstall
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | — | The play area; components inside call useScorePop() to award points. |
| label | string | "Score" | Accessible name and caption of the total. |
| defaultTotal | number | 0 | Starting total. |
| comboWindow | number | 1200 | Hits within this many ms build a combo. |
| maxCombo | number | 5 | Highest multiplier. |
| onScore | (added: number, total: number, combo: number) => void | — | Called after each award. |
| frozenAt | { combo?; pops: { amount; multiplier?; x; y; rise? }[] } | — | A still frame of pops mid-rise and a combo chip, shown until the first award, miss or reset (previews, screenshots). |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
