Skip to main content

Number Input

Number field with optional +/- stepper buttons, always-visible or hover-reveal steppers, min/max clamping, default or compact density, and field shell.

Default with steppers

Use stepper buttons or type a number.

Muted stepper dividers

Hairline borders between +/- and the value — outer field chrome stays full weight.

Use stepper buttons or type a number.

Steppers on hover

Keeps the field width tight — hover or focus the control to reveal +/- steppers.

Use stepper buttons or type a number.

Compact density

Shorter control for tables — pair with stepperReveal="hover" for matching corner radius.

Use stepper buttons or type a number.

Compact row (data table)

LyricismProdMelodyImpact
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.

Inline pair

Use stepper buttons or type a number.
Use stepper buttons or type a number.

Without steppers

Plain number field when steppers are not needed.

Compact without steppers

Step size & bounds

Use stepper buttons or type a number.

Table seats — even numbers only, 2 to 20.

Error

Use stepper buttons or type a number.

Compact error

Use stepper buttons or type a number.

Disabled & read-only

Use stepper buttons or type a number.
Use stepper buttons or type a number.

Compact disabled

Use stepper buttons or type a number.

Animation variants

animationVariant — click each control to compare press feedback.

Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.
Use stepper buttons or type a number.

API

PropRequiredTypeDefaultDescription
themeOptionalSiteThemeatelierVisual theme.
showSteppersOptionalbooleantrueShows increment/decrement buttons.
stepperRevealOptional"always" | "hover"alwaysWhen steppers are on: always visible, or reveal on hover/focus to keep the field narrow.
borderToneOptional"muted" | "normal"normalDivider weight between +/- steppers and the value — muted uses hairline borders; normal uses full theme border weight.
densityOptional"default" | "compact"defaultCompact uses a shorter h-9 control and smaller stepper buttons — for data tables and dense grids.
stepOptionalnumber1Stepper increment amount.
min / maxOptionalnumberValue bounds; steppers clamp to range.
label / hint / errorOptionalstringField shell props.
animationVariantOptionalPressAnimationVariantdefaultPress animation — default, none, ripple, scale, sink, lift, pulse, or glow.