Waiting for action
Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Number field with stepper buttons.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | — | Value. |
onChange | (event) => void | — | Change handler. |
min | number | — | Minimum. |
max | number | — | Maximum. |
step | number | 1 | Step size. |
mode | "stacked" | "flagged" | "stacked" | Layout mode for label and control. |
labelPosition | "left" | "right" | "left" | Label placement in flagged mode. |
error | string | — | Validation message; sets aria-invalid when present. |
help | string | — | Supplementary help text linked via aria-describedby. |
required | boolean | false | Marks the field as required for assistive tech. |
FieldShell for label, help, error, and required wiring.htmlFor / id.