- Components
- Form
- Number Input
Shadcn Number Input Components
A numeric input with step buttons, keyboard stepping, min and max bounds, locale aware currency, percent and unit formatting, drag to scrub, and mouse wheel support, built on ui-sdk and styled with shadcn/ui. Browse our collection of 15 Shadcn Number Input variants.
Basic
Buttons on both sides
Up to 10 per order.
Stacked chevrons
Min, max and step
Between 0.5 and 8 in half hours. Hold Shift to move by 2.
Decimal precision
Two fraction digits.
Three fraction digits.
Currency and percent
With units
Scrubber
Drag the label, or a letter below, sideways to scrub.
Frame
Mouse wheel
Focus the input, then scroll over it.
Clamp vs out of range
Type 250 and leave the field to clamp it to 100.
Long press repeat
Press and hold a button to keep stepping.
Disabled and read-only
Sold out. The quantity is locked.
Set by your plan. Read-only values still submit.
In a form
Cart quantity
- Everyday TeeSand, M$56.00
- Stoneware MugMatte black$18.00
- Canvas ToteNatural$24.00
RTL
Unlock premium components
Explore Shadcn Blocks
Ready-made page sections built with the same components.















