NumberField
Numeric entry with decrement/increment steppers, joined into a single control. Field-wrapped, with a range annotation and hint/error states.
SHEET · 01.12
Default
01.12·APREVIEWPX · 1:1
<NumberField label="Copies" defaultValue={1} min={1} />Range + step
01.12·BPREVIEWPX · 1:1
Millimetres
<NumberField
label="Line weight"
min={0.25}
max={2}
step={0.25}
defaultValue={0.5}
hint="Millimetres"
/>Error state
01.12·CPREVIEWPX · 1:1
At least one copy is required
<NumberField
label="Copies"
defaultValue={0}
min={1}
error="At least one copy is required"
/>