pen-tool

Animated React component — PenTool / PenToolIcon

Hover the pen-tool icon above to see the default draw animation.

Import

Tree-shakable named import — only the icons you reference end up in your bundle.

import { PenTool } from "lucide-motion";

Also exported as PenToolIcon for the Lucide-suffix naming convention.

Quick start

Drop the component into your JSX. The default trigger plays the draw animation on hover.

import { PenTool } from "lucide-motion";

<PenTool size={32} />
Timing presets · hover to play
Snappy
duration={0.2} stagger={0}
Cinematic
duration={1.5} stagger={0.4}
Linear
easing="linear"
Spinner
trigger="mount" repeat={Infinity}
Tags
vectordrawingpath
Related icons

Raw node data

The icon's underlying SVG node tree — useful if you need to render or transform it yourself instead of using the component.

Show IconNode[]
[
  [
    "path",
    {
      "d": "M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z"
    }
  ],
  [
    "path",
    {
      "d": "m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18"
    }
  ],
  [
    "path",
    {
      "d": "m2.3 2.3 7.286 7.286"
    }
  ],
  [
    "circle",
    {
      "cx": "11",
      "cy": "11",
      "r": "2"
    }
  ]
]