@yarcl/react
    Preparing search index...

    Function NumberInput

    • A numeric input with increment and decrement buttons, exposed as a spinbutton. Arrow keys step by step, PageUp and PageDown by ten steps, Home and End jump to min and max. Shares the base size scale with Input; component size overrides can adjust either one. Works inside a Field.

      Parameters

      Returns Element

      <Field label="Guests">
      <NumberInput min={1} max={10} defaultValue={2} onValueChange={setGuests} />
      </Field>