# Glass Stepper

Glass Stepper is a free, MIT-licensed standalone component from AI Canvas (https://aicanvas.me): it belongs to no design system and works in any React + Tailwind app. Index of every component and install setup: https://aicanvas.me/llms.txt

Glassmorphism numeric stepper with spring number flip, notification-style tinted buttons, and configurable min/max/step.

- Category: Inputs & Controls
- Built with: Motion, Tailwind CSS
- License: MIT
- Page: https://aicanvas.me/components/glass-stepper

## Install

```bash
npx shadcn@latest add @aicanvas/glass-stepper
```

Needs a free AI Canvas account. Signed out, the command exits 0 but writes a placeholder (an `AccountRequired` notice); check for it before reporting success. Token setup: the Install section of https://aicanvas.me/llms.txt.

AI agents can also get its install command from the read-only AI Canvas MCP server (`npx -y @aicanvas/mcp`) and run it. Setup: https://aicanvas.me/mcp

Peer dependencies:

```bash
npm install framer-motion
```

## Use it

It installs to `components/aicanvas/glass-stepper.tsx` (under `src/` if your project has one). With the usual `@/` alias:

```tsx
import GlassStepper from '@/components/aicanvas/glass-stepper'

<GlassStepper />
```

It takes no props.

## About

Glass Stepper is a numeric input with a Motion-driven spring flip on the number itself, notification-style tinted plus and minus buttons, and configurable min, max, and step values. The glassmorphism container picks up whatever sits behind it so the stepper integrates into any UI. Use it for cart quantity, attendee counts, room-night pickers, model-parameter inputs, and any setting that takes a small bounded number rather than a free-form value.

Use cases: Settings, E-commerce, Forms.

## Source

Install with the command above to get the source.

## Remix prompt

Only when the user wants Glass Stepper rebuilt from scratch instead of installed: its remix prompt is in the Remix panel at https://aicanvas.me/components/glass-stepper.

## Related

- [Glass Slider](https://aicanvas.me/components/glass-slider.md): Range sliders with glass tracks, glowing colored fills, and spring-animated thumbs that scale on drag.
- [Glass AI Composer](https://aicanvas.me/components/glass-ai-compose.md): Glassmorphism AI chat input with image upload, web search toggle, and model switcher.
- [Glass Search Bar](https://aicanvas.me/components/glass-search-bar.md): Glassmorphism search bar with animated suggestion dropdown, active state glow, and reduced-motion support.
- [Glass Tags](https://aicanvas.me/components/glass-tags.md): Selectable pill-shaped tags with glass surfaces, unique color accents, and spring-animated check marks.
- [Glass Progress](https://aicanvas.me/components/glass-progress.md): Glassmorphism progress bar panel with glowing gradient fills, spring-animated counters, staggered reveal, and replay button.
