lumesec

Odometer Stepper

Component

About

A numeric stepper where every digit rolls on its own wheel like a mechanical odometer, controllable by buttons, press-and-hold, sideways drag, the scroll wheel, or the keyboard.

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

Code

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

Usage.tsx

import { UiOdometer } from "@/components/ui/ui-odometer";

export default function UiOdometerDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
      <UiOdometer
        defaultValue={8192}
        min={1024}
        max={65536}
        step={1024}
        label="Max output tokens"
      />
    </div>
  );
}

More by lumesec

View all
  • Geo Traceroute

    Geo Traceroute

    89
  • Effort Slider

    Effort Slider

    32
  • Date Picker

    Date Picker

    28
  • Connection Globe

    Connection Globe

    25
  • Region Picker

    Region Picker

    23
  • Rotary Dial

    Rotary Dial

    22
  • Pixel Toaster

    Pixel Toaster

    14
  • Pixel Select

    Pixel Select

    12