Number Input
- from @corsair-ui
Number field with decrement and increment buttons, min, max and step, following the spinbutton keyboard pattern.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @corsair-ui/number-inputLive preview
No live preview has been built for this component yet.
Registry dependencies3
- @corsair-ui/utils
- @corsair-ui/button
- @corsair-ui/input-group
