ham7a311

Ruler Picker

Component 3

About

A draggable tape-measure style number picker (e.g. for weight) that coasts and settles on tenths, with keyboard, wheel and touch support and a kg/lb unit switch.

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

Code

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

Usage.tsx

"use client";

import { RulerPicker } from "@/components/ui/ruler-picker";

export default function RulerPickerNightDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center px-4 py-12 bg-[#09090b] text-[#f0ece4]">
      <RulerPicker theme="night" />
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    70
  • Wave Mesh

    Wave Mesh

    65
  • Glass Tiles

    Glass Tiles

    56
  • Glyph Swell

    Glyph Swell

    23
  • Orbit Ring Stats

    Orbit Ring Stats

    19
  • Ask Bar

    Ask Bar

    18
  • Streak Field Stats

    Streak Field Stats

    17
  • Glass Carousel

    Glass Carousel

    17