motionsnack

Animated React sections that already feel finished.

Copy them into Next.js or add them with one command. Plain React and Tailwind, light and dark.

New sections, once a month

One short email when something new lands. No spam.

Library

  • Sections
  • Blocks
  • Components
  • Application UI
  • Templates

Popular

  • Hero
  • Gallery
  • Testimonials
  • Stats
  • Logos
  • FAQ

Resources

  • Installation
  • All components
  • All blocks
  • All sections
  • All application UI
  • Design system
  • Changelog
  • Pricing

Company

  • About
  • Contact
  • Terms
  • Privacy

Install

npx motionsnack add <name>Step-by-step guidehello@motionsnack.dev
Kuba Šťastný@kubastastnydev

© 2026 motionsnack. All rights reserved.

TermsPrivacy

motionsnack

motionsnack
DocsSectionsTemplatesWhat's newPricing
Get lifetime access
  1. Home
  2. Docs
  3. Components
  4. Input
  5. Number Stepper
ComponentsBlocksSectionsApplication UI
ComponentsBlocksSectionsApplication UI

Accordion

  • Spring Accordion

Alert

  • Glow Alert

Audio

  • Podcast PlayerNew
  • Voice NoteNew
  • Voice RecorderNew

Avatar

  • Avatar Stack

Badge

  • Pulse Badge

Breadcrumb

  • Slide Breadcrumb

Button

  • Chip ButtonNew
  • Glow Border Button
  • Glow ButtonNew
  • Plain ButtonNew

Calendar

  • Month Calendar

Checkbox

  • Checkbox CardsNew
  • Checkbox GroupNew
  • Chip CheckboxNew

Cropper

  • Image Cropper

Dialog

  • Spring Dialog

Dropdown

  • Command MenuNew
  • Stagger Dropdown
  • Switcher DropdownNew

File Upload

  • Drop Zone Upload

Input

  • Addon InputNew
  • Button InputNew
  • Copy InputNew
  • Date InputNew
  • Floating Label Input
  • Joined InputsNew
  • Notched Label InputNew
  • Number StepperNew
  • OTP InputNew
  • Password InputNew
  • Phone InputNew
  • Range InputNew
  • Search InputNew
  • Tag InputNew
  • Text FieldNew

Loader

  • Curtain LoaderNew
  • Greeting LoaderNew
  • Line LoaderNew
  • Meter LoaderNew
  • Split LoaderNew

Navigation Menu

  • Mobile Tab BarNew

Notification

  • Notification BellNew
  • Toast Stack

Pagination

  • Sliding Pagination

Popover

  • Spring Popover

Radio

  • Card Radio Group
  • Payment MethodNew
  • Radio GroupNew
  • Rating RadioNew

Select

  • ComboboxNew
  • Glide Select
  • Multi SelectNew
  • Rich SelectNew
  • Select FieldNew
  • Tree SelectNew

Sidebar

  • Icon RailNew

Slider

  • Glow Slider

Stepper

  • Progress Stepper

Switch

  • Billing SwitchNew
  • Switch RowNew
  • Toggle SwitchNew

Table

  • Sortable Table

Tabs

  • Sliding Tabs

Textarea

  • Auto Grow Textarea

Toggle

  • Icon ToggleNew
  • Theme ToggleNew
  • Toggle GroupNew

Tooltip

  • Follow Tooltip

Input

Number Stepper

New

A number field with minus and plus buttons where the value rolls up or down as it changes.

npx motionsnack add number-stepper-input

Customize

px
px
<NumberStepperInput />

Props

24 properties

PropertyTypeDefaultDescription
valuenumber-Controlled value. Leave undefined to let the component manage it.
defaultValuenumber2Value on first render when uncontrolled.
onChange(value: number) => void-Called with the new number on every change.
largeStepnumber10 × stepAmount Shift+arrow and PageUp / PageDown add or take away.
localestring'en-US'Locale that formats the number and reads the decimal separator.
errorColorstringundefinedError colour for both themes. Undefined uses the per-theme pair.
durationnumber-Deprecated: the roll uses the standard 300ms.
namestring-Name submitted with a form.
idstringgeneratedId of the input.
classNamestring''Extra classes on the wrapper.
labelstring'Guests'Label above the field. Empty hides it.
minnumber1Smallest value.
maxnumber12Largest value.
stepnumber1Amount one press adds or takes away.
unitstring'people'Text after the number. Empty hides it.
helperTextstring'Up to 12 people per booking.'Small text under the field. Empty hides it.
layout'split' | 'end''split'Buttons on both sides, or both stacked at the end.
holdToRepeatbooleantrueKeep stepping while a button is held down.
errorstring''Error message. Any text switches the field to its error state.
requiredbooleanfalseMarks the field as required.
readOnlybooleanfalseFocusable and announced, but the value cannot change.
disabledbooleanfalseDisables the field.
heightnumber48Height of the field (48, or 40 compact).
radiusnumber12Corner radius of the field.

About Number Stepper

Number Stepper is for quantities: guests, tickets, nights or pieces. The minus and plus buttons sit on both sides, or stacked as arrows at the end, and holding one keeps stepping. Each change rolls the number up or down in the direction it moved. The field can still be typed into, and arrow keys, Shift for steps of ten, Home and End work as on a native spin button. Minimum, maximum, step with decimals and a unit after the number are props.

What's included

  • Minus and plus on the sides, or arrows at the end
  • Number that rolls in the direction of the change
  • Hold to repeat
  • Typing and keyboard stepping
  • Min, max, step and unit
  • Light and dark look
Type
Animated React input component
Library
Components · Input
Stack
Next.js, React, Tailwind CSS
Added
2026-11-23
Install
npx motionsnack add number-stepper-input