Avijit Dey

Square Pen Icon

Component

About

An animated square-pen (edit) icon that wiggles its pen tip on hover, for use in toolbars and edit buttons.

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

Code

How Square Pen Icon is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { SquarePenIcon } from "@/components/ui/lu-square-pen";

export default function SquarePenIconDemo() {
  return (
    <div className="flex items-center justify-center w-full h-[200px]">
      <SquarePenIcon size={48} />
    </div>
  );
}

Dependencies

More by Avijit Dey

View all
  • Checkmark Circle Icon

    Checkmark Circle Icon

    1
  • Eye Icon

    Eye Icon

    1
  • Mouse Pointer Click Icon

    Mouse Pointer Click Icon

    1
  • VK Square Icon

    VK Square Icon

  • Bell Off Icon

    Bell Off Icon

  • Filter Icon

    Filter Icon

  • Shield User Icon

    Shield User Icon

  • Analytics Down Icon

    Analytics Down Icon

Explore more

Part of AnimateIcons / Lucide — browse the full library on 21st.dev.