boxes

Animated React component — Boxes / BoxesIcon

Hover the boxes icon above to see the default draw animation.

Import

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

import { Boxes } from "lucide-motion";

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

Quick start

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

import { Boxes } from "lucide-motion";

<Boxes 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
cubespackagespartsgroupunitscollectionclustergeometry
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": "M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z"
    }
  ],
  [
    "path",
    {
      "d": "m7 16.5-4.74-2.85"
    }
  ],
  [
    "path",
    {
      "d": "m7 16.5 5-3"
    }
  ],
  [
    "path",
    {
      "d": "M7 16.5v5.17"
    }
  ],
  [
    "path",
    {
      "d": "M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z"
    }
  ],
  [
    "path",
    {
      "d": "m17 16.5-5-3"
    }
  ],
  [
    "path",
    {
      "d": "m17 16.5 4.74-2.85"
    }
  ],
  [
    "path",
    {
      "d": "M17 16.5v5.17"
    }
  ],
  [
    "path",
    {
      "d": "M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z"
    }
  ],
  [
    "path",
    {
      "d": "M12 8 7.26 5.15"
    }
  ],
  [
    "path",
    {
      "d": "m12 8 4.74-2.85"
    }
  ],
  [
    "path",
    {
      "d": "M12 13.5V8"
    }
  ]
]