Controls

Number field

scrub the label (pointer lock), type, step or drag the track · Shift fine, Alt coarse · off-default mark and Reset

Number fieldWeb only

Usage

Give it a defaultValue so it can show when it has moved and offer Reset. The mark is a shape and the label’s strength, never colour alone.

API

<NumberField label value onChange min? max? step? unit? defaultValue? format? track? stepper? />

Get it

Already in every copy of the web kit:

import { NumberField } from '@/components/controls/number-field';

Details

Exports
NumberField
Packages
cn@^0.5.2, lucide-react@^1.52.0
Installs with
@halftone-web/control-row, @halftone-web/lib-controls-scrub
Also searched as
scrub, slider, stepper, spinbutton, number input, drag value

Agents: the whole registry is at /llms.txt.