preskok/ui

Number Field

A number input field with stepper buttons and validation.

Installation

pnpm dlx @preskok-org/ui@latest add number-field

Usage

import { NumberField } from "@/registry/preskok/ui/preskok-ui/number-field"
 
export function NumberFieldDemo() {
  return <NumberField label="Quantity" defaultValue={1} />
}