Park UI Logo
GitHub
Components
Number input

Number Input

A field that allows user input of numeric values.

import { NumberInput, type NumberInputProps } from '~/components/ui/number-input'

export const Demo = (props: NumberInputProps) => {
  return (
    <NumberInput defaultValue="3" {...props}>
      Label
    </NumberInput>
  )
}

Usage

import { NumberInput } from '~/components/ui/number-input'

Installation

npx @park-ui/cli components add number-input