About
An animated ruler icon that wiggles and ticks its marks on hover, usable as a drop-in replacement for a static measurement/design icon.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Ruler Icon to your project and fits it to your theme.
Code
How Ruler Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { RulerIcon } from "@/components/ui/lu-ruler";
export default function RulerIconDemo() {
return (
<div className="flex h-screen w-full items-center justify-center">
<RulerIcon size={48} />
</div>
);
}







