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
  • E-Ink Progress Bar

    E-Ink Progress Bar

  • Navigation

    Navigation

  • Pill

    Pill

  • Notification

    Notification

  • Log

    Log

  • Value Display

    Value Display

  • Last Updated

    Last Updated

  • List

    List

More in Forms

View all
  • Login 1

    Login 1

    52
  • Premium Auth

    Premium Auth

    492
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    136
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    45
  • Login Form

    Login Form

    6
  • Card Studio

    Card Studio

    41