About
An animated undo arrow icon that spins counter-clockwise on hover, for use in toolbars and action buttons.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Undo Icon to your project and fits it to your theme.
Code
How Undo Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { UndoIcon } from "@/components/ui/hu-undo";
export default function Preview() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center">
<UndoIcon size={48} />
</div>
);
}







