DWG · 01.12 · COMPONENT SPEC

NumberField

Numeric entry with decrement/increment steppers, joined into a single control. Field-wrapped, with a range annotation and hint/error states.

Default

01.12·A
PREVIEWPX · 1:1
<NumberField label="Copies" defaultValue={1} min={1} />

Range + step

01.12·B
PREVIEWPX · 1:1

Millimetres

<NumberField
  label="Line weight"
  min={0.25}
  max={2}
  step={0.25}
  defaultValue={0.5}
  hint="Millimetres"
/>

Error state

01.12·C
PREVIEWPX · 1:1
At least one copy is required
<NumberField
  label="Copies"
  defaultValue={0}
  min={1}
  error="At least one copy is required"
/>