Buy Pro
Docs
Input Number

Input Number

An input designed for numbers.

hours

Usage

import { InputNumber } from '@/components/ui/input-number';
<InputNumber
  step={1}
  min={0}
  max={24}
  unit="hours"
  value={value}
  onValueChange={setValue}
/>