Tally counter
Big tally with lit +/− keys, hold-to-repeat, rolling digits, a goal ring, undo and a history sparkline.
Preview
Guests checked in
Guests checked in: 37 of 48
Recent changes
Cups of coffee sold
Cups of coffee sold: 112
Recent changes
Install
Pro source requires Pebble Pro. Try the full preview above.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| label | string | — | What is being counted; names the region. |
| value | number | — | Controlled count. |
| defaultValue | number | 0 | Initial count when uncontrolled. |
| onValueChange | (value: number) => void | — | Called on every change. |
| step | number | 1 | Amount per press. |
| min | number | 0 | Lowest count. |
| max | number | Infinity | Highest count. |
| goal | number | — | Target; draws a goal ring around the count. |
| holdDelay | number | 400 | Milliseconds before a held key starts repeating. |
| historyLength | number | 24 | Values kept for the history sparkline. |
| defaultHistory | number[] | — | Earlier values to seed the sparkline. |
Pro component
Try the full preview above. Editable source and build guides require Pebble Pro.
