candy-cane

Animated React component — CandyCane / CandyCaneIcon

Hover the candy-cane icon above to see the default draw animation.

Import

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

import { CandyCane } from "lucide-motion";

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

Quick start

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

import { CandyCane } from "lucide-motion";

<CandyCane 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
sugarfoodsweetchristmasxmas
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": "m10.8 5 2.111 4.223"
    }
  ],
  [
    "path",
    {
      "d": "M17.75 7 15 2.1"
    }
  ],
  [
    "path",
    {
      "d": "m4.874 14.647 2.12 4.24"
    }
  ],
  [
    "path",
    {
      "d": "M5.7 21a2 2 0 0 1-3.5-2l8.6-14a6 6 0 0 1 10.4 6 2 2 0 1 1-3.464-2 2 2 0 1 0-3.464-2z"
    }
  ],
  [
    "path",
    {
      "d": "m7.906 9.712 2.005 4.411"
    }
  ]
]