About
An animated eraser icon that wiggles on hover, with an imperative ref API to trigger the animation programmatically.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Eraser Icon to your project and fits it to your theme.
Code
How Eraser Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { EraserIcon } from "@/components/ui/lu-eraser";
export default function EraserIconDemo() {
return (
<div className="flex items-center justify-center w-full h-full min-h-[200px]">
<EraserIcon size={48} />
</div>
);
}







