dices

Animated React component — Dices / DicesIcon

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

Import

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

import { Dices } from "lucide-motion";

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

Quick start

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

import { Dices } from "lucide-motion";

<Dices 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
dicerandomtabletopboardgame
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[]
[
  [
    "rect",
    {
      "width": "12",
      "height": "12",
      "x": "2",
      "y": "10",
      "rx": "2",
      "ry": "2"
    }
  ],
  [
    "path",
    {
      "d": "m17.92 14 3.5-3.5a2.24 2.24 0 0 0 0-3l-5-4.92a2.24 2.24 0 0 0-3 0L10 6"
    }
  ],
  [
    "path",
    {
      "d": "M6 18h.01"
    }
  ],
  [
    "path",
    {
      "d": "M10 14h.01"
    }
  ],
  [
    "path",
    {
      "d": "M15 6h.01"
    }
  ],
  [
    "path",
    {
      "d": "M18 9h.01"
    }
  ]
]