@objectifthunes/whiteboard
FORMS

Slider

Label left, live readout right, themed range underneath. onChange emits numbers, not strings.


PREVIEW
Ink threshold137 (auto)
Plan opacity90%
SOURCE
import { Slider } from '@objectifthunes/whiteboard'

<Slider
  label="Ink threshold"
  display={`${threshold} (auto)`}
  min={0}
  max={255}
  value={threshold}
  onChange={setThreshold}
/>
NOTES

The settings-panel pattern: uppercase label on the left, tabular-nums readout on the right, range underneath. display overrides the readout (units, annotations);onChange receives a number.