Inputs
Number field
A number with steppers, a unit and a scrubbable label. Formats with the user’s locale.
npx dtheo@latest add number-fieldN·m
ms
Drag a label sideways to scrub. Arrow keys step; Shift + arrow takes a larger step.
When to use
- Gains, limits, setpoints, quantities
- Any value an engineer nudges up and down
- Identifiers that happen to be digits (serial numbers): use Input
Keyboard
- Arrow updown
- Steps by `step`
- Shift + arrow
- Steps by `largeStep`
- Drag the label
- Scrubs the value