Input Number
Numeric input with increment/decrement buttons. Use for quantities and bounded numbers. For unstyled number entry, use Input type="number".
Default
Bound with v-model. Use min, max, decimal to constrain.
Usage
Import the parts you need from the component's folder.
ts
import { InputNumber } from "@/components/ui/input-number";With bounds
min, max, and decimal constraints.
Decimal
Pass decimal to allow a fractional part.