Forms
Number Field
A numeric input with increment/decrement buttons.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import {
NumberField,
NumberFieldDecrement,
NumberFieldGroup,
NumberFieldIncrement,
NumberFieldInput,
} from "@wunderui/react"Examples
Number stepper / Number field
Minus and plus around a value, or a number field you can type into.
2
0
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Team seats
Type the number of seats or step it up and down; the monthly total updates as you go.
API Reference
| Prop | Type | Default |
|---|---|---|
| value / defaultValue | number | — |
| min | number | — |
| max | number | — |
| step | number | 1 |
| onValueChange | (value: number | null) => void | — |