cake-slice

Animated React component — CakeSlice / CakeSliceIcon

Hover the cake-slice icon above to see the default draw animation.

Import

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

import { CakeSlice } from "lucide-motion";

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

Quick start

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

import { CakeSlice } from "lucide-motion";

<CakeSlice 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
birthdaybirthdatecelebrationpartysurprisegateauxdessertcandleswishfondanticing sugarsweetbaking
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": "M16 13H3"
    }
  ],
  [
    "path",
    {
      "d": "M16 17H3"
    }
  ],
  [
    "path",
    {
      "d": "m7.2 7.9-3.388 2.5A2 2 0 0 0 3 12.01V20a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-8.654c0-2-2.44-6.026-6.44-8.026a1 1 0 0 0-1.082.057L10.4 5.6"
    }
  ],
  [
    "circle",
    {
      "cx": "9",
      "cy": "7",
      "r": "2"
    }
  ]
]