Components (172)
Number Input
Reusable Clean-style UI component built on Base UI and Tailwind CSS v4.
Loading Number Input…
Usage
import { NumberInput } from "ui-kit/components/number-input";Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | null | — | — |
defaultValue | number | null | null | — |
onValueChange | (value: number | null) => void | — | — |
min | number | — | — |
max | number | — | — |
step | number | 1 | — |
largeStep | number | — | — |
unit | ReactNode | — | — |
prefix | ReactNode | — | — |
locale | string | — | — |
formatOptions | Intl.NumberFormatOptions | — | — |
label | ReactNode | — | — |
hint | ReactNode | — | — |
error | ReactNode | — | — |
optional | boolean | false | — |
size | "sm" | "md" | "lg" | "md" | — |
inputClassName | string | — | — |