Number Field

A number input with minus and plus steppers, such as a cart quantity or a seat count, that keeps the value in range and steps with the arrow keys. Built on Base UI.

shadcn Base UIUsed in 5 blocks

Installation

npx shadcn@4.19.0 add https://ui.edbn.me/r/number-field.json

Source