tweak

stepper

A controlled −/value/+ stepper — arrow keys work when focused, buttons disable at min/max. The format prop controls the display.

4
min 0 · max 16 · arrows work when focused

Click −/+ or focus and use arrow keys. Buttons disable at bounds (0 and 16).

Installation

Usage

Use when

  • Small integer increments where a slider is overkill — count, step, index