website/playground/sidebar/inputs.js/NumberInput
export function NumberInput({
  label: _label,
  title,
  value,
  min,
  max,
  step,
  onChange,
}) {
  return (
    <label title={title}>
      {_label}{" "}
      <input
        type="number"
        min={min}
        max={max}
        step={step}
        value={value}
        onChange={(ev) => onChange(parseInt(ev.target.value, 10))}
      />
    </label>
  );
}