kuratlielia

Number Field

Forms 1

About

A bounded numeric input with increment/decrement buttons, odometer-style rolling digit animation, keyboard stepping, and an optional draggable label to scrub the value.

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

Code

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

Usage.tsx

"use client";

import NumberField from "@/components/ui/number-field";

export default function NumberFieldDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-[var(--background)] p-8">
      <NumberField
        label="Quantity"
        defaultValue={1}
        min={0}
        max={99}
        description="Up to 99 per order"
      />
    </div>
  );
}

Dependencies

More by kuratlielia

View all
  • Activity Heatmap

    Activity Heatmap

    480
  • Image Compare

    Image Compare

    129
  • User Menu

    User Menu

    102
  • Date Range Picker

    Date Range Picker

    76
  • Stats Band

    Stats Band

    71
  • Usage Meter

    Usage Meter

    52
  • Signature Pad

    Signature Pad

    40
  • Timeline

    Timeline

    38

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Form

    Form

    16
  • Login 1

    Login 1

    53
  • Book A Demo 3

    Book A Demo 3

    89
  • Hand-Drawn Checkbox

    Hand-Drawn Checkbox

    48
  • Login Card

    Login Card

    6