chess-knight

Animated React component — ChessKnight / ChessKnightIcon

Hover the chess-knight icon above to see the default draw animation.

Import

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

import { ChessKnight } from "lucide-motion";

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

Quick start

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

import { ChessKnight } from "lucide-motion";

<ChessKnight 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
piecehorseboard game
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": "M5 20a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1z"
    }
  ],
  [
    "path",
    {
      "d": "M16.5 18c1-2 2.5-5 2.5-9a7 7 0 0 0-7-7H6.635a1 1 0 0 0-.768 1.64L7 5l-2.32 5.802a2 2 0 0 0 .95 2.526l2.87 1.456"
    }
  ],
  [
    "path",
    {
      "d": "m15 5 1.425-1.425"
    }
  ],
  [
    "path",
    {
      "d": "m17 8 1.53-1.53"
    }
  ],
  [
    "path",
    {
      "d": "M9.713 12.185 7 18"
    }
  ]
]