Number Field
stableA numeric input with stepper buttons and Intl formatting.
Basic usage
Examples
Quantity selector
A controlled number field used as a cart quantity input.
Quantities and currency
NumberField supports min, max, step and Intl formatting options.
Features
- Min / max / step.
- Keyboard + wheel support.
Installation
bash
pnpm dlx structyl add number-fieldAPI Reference
Number Field API reference
Full props, types, defaults, and all 4 parts.