@objectifthunes/whiteboard
FORMS

NumberField

Labeled numeric input that clamps to min/max and never emits NaN.


PREVIEW
SOURCE
import { NumberField } from '@objectifthunes/whiteboard'

<NumberField
  label="Wall height (m)"
  min={0.1}
  max={10}
  step={0.1}
  value={height}
  onChange={setHeight}
/>
NOTES

A Field + Input type="number" with the parsing already done: values arrive as numbers, clamped to [min, max]; intermediate non-numeric states are swallowed instead of emitted as NaN.