Skip to content
FormsFree

Number Field

A numeric input with increment/decrement buttons.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
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.

Team seats
$12 per seat / month
$60 / month

API Reference

PropTypeDefault
value / defaultValuenumber—
minnumber—
maxnumber—
stepnumber1
onValueChange(value: number | null) => void—