PaceUI

  • Components
  • Blocks
  • Templates
  • Studio
  • Resources
Intro
  • Components
  • Installation
  • MCP
Agents
  • Chat Composer
  • Workflow Board
  • Thinking States
  • Audio Visualizer
  • Task Pipeline
  • Approval Card
  • Model Ability Selector
  • Model Selector
  • Response Writer
  • AI Suggestions
  • Token Counter
Crafts
  • All Crafts
  • Avatar Flight
  • Voice Record
  • Starfield Card
  • Destination Queue
  • Rolling Bento
  • Download Button
  • Cart Stepper
  • Heart Burst
  • Copy Bar
  • Generative Grid
  • Destination Card
  • Magnetic Button
  • Morphing Copy
  • Expanding Search
  • Metric Tracker
  • Tilt Card
  • Animated Stack
Charts
  • API Traffic
  • Weekly Traffic
  • Financial Performance
  • Channel Sales
  • Customer Growth
  • Customer Segments
  • Sales Overview
  • Traffic Distribution
  • Daily Orders
  • Acquisition Funnel
  • Weekly Attendance
  • Market Trends
  • Portfolio Overview
  • Instance Health
  • Resource Usage
  • SaaS Subscriptions
  • Database Performance
  • Model Usage
  • Spend Allocation
Motion
  • Accordion
  • Alert
  • Calendar
  • Checkbox
  • Collapsible
  • Combobox
  • Context Menu
  • Dropdown Menu
  • Empty
  • Hover Card
  • Input OTP
  • Menubar
  • Navigation Menu
  • Pagination
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Sidebar
  • Slider
  • Switch
  • Tabs
  • Tooltip
  • Reveal Text
  • Scramble Text
  • Squash Text
  • Bouncing Text
  • Mouse Wave Text
  • Text Fall Button
  • Spring Button
  • Infinite Scroller
  • Fillable Button
  • Layered Stack
  • Gradient Shadow
  • Profile Peek
  • Flip Reveal
  • Reveal on Scroll
  • Swap
  1. Components
  2. Crafts
PreviousNext

Cart Stepper

A product row with a morphing add-to-cart stepper that stages minus and quantity out from behind the cart button with spring physics.

When to use

  • E-commerce product cards, quick-add listings, and drawer carts.
  • Allowing users to smoothly increment, decrement, and clear items without opening a modal.
  • Providing delightful micro-animations with MorphIcon and NumberFlow for smooth counter transitions.

When not to use

  • Bulk order forms where manual numeric input typing is required.
  • Standalone buttons where quantity modification is not needed.

API Reference

CartStepperProps

PropTypeDefaultDescription
valuenumber—Controlled quantity count value.
defaultValuenumber0Initial default quantity count value.
minnumber0Minimum allowed quantity.
maxnumber99Maximum allowed quantity.
onChange(value: number) => void—Callback fired whenever the quantity count changes.
titlestring"Nimbus Bot"Product title displayed on the left side.
subtitlestring"$399.00"Supporting price or variant subtitle text.
imageSrcstring—Thumbnail product image source.
imageAltstring—Alt text for the thumbnail image.
showProductDetailsbooleantrueWhether to display the image, title, and price row or just the stepper buttons.
classNamestring—Additional CSS class names.

Motion

  • Spring physics with stiffness 320 and damping 32 for smooth expansion and staging.
  • Morphing icon transitions between ShoppingCart, Plus, Minus, and Trash2 states.
  • Smooth rolling numeric transitions powered by NumberFlow.
Download ButtonHeart Burst

PaceUI

Animated blocks, components, and templates for Next.js and TanStack Start. Built with Motion and shadcn - clean code you own.

GitHubTwitterDiscord

Products

BlocksComponentsTemplatesCraftsTanStack ChartsMCP ServerStarter KitsStyleX Components

Resources

DocumentationMotion ComponentsGSAP AnimationsNative AIBlogChangelog

Pricing & Account

PricingManage AccountLicensesAPI KeysAffiliate Program

Company

Contact UsDiscord CommunityPrivacy PolicyTerms of Service

© 2026 PaceUI. All rights reserved. Built by indie developer, Denish

PACEUI

Nimbus Bot
Nimbus Bot$399.00