alexisroe

Number Stepper

Forms

About

A labeled numeric stepper with decrease/increase buttons flanking a spinbutton value display, for picking a bounded quantity or decimal amount.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Number Stepper to your project and fits it to your theme.

Code

How Number Stepper is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import NumberInput from "@/components/ui/number-input";

export default function NumberInputDisabledDemo() {
  return (
    <div className="flex min-h-screen items-center justify-center bg-background p-10 text-foreground">
      <NumberInput label="Quantity" defaultValue={3} disabled />
    </div>
  );
}

More by alexisroe

View all
  • Log

    Log

    9
  • Notification

    Notification

    2
  • Segmented Control

    Segmented Control

    2
  • Chip

    Chip

    2
  • Checkbox

    Checkbox

    1
  • E-Ink Code

    E-Ink Code

  • QR Code

    QR Code

  • Breadcrumbs

    Breadcrumbs

More in Forms

View all
  • Form

    Form

    7
  • Login 2

    Login 2

    16
  • Contact Form

    Contact Form

    32
  • Book A Demo 1

    Book A Demo 1

    95
  • Contact Card

    Contact Card

    1.1K
  • Premium Auth

    Premium Auth

    613
  • Authentication Card

    Authentication Card

    52
  • Form

    Form

    18