book-x

Animated React component — BookX / BookXIcon

Hover the book-x icon above to see the default draw animation.

Import

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

import { BookX } from "lucide-motion";

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

Quick start

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

import { BookX } from "lucide-motion";

<BookX 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
codecodingversion controlgitrepositoryremovedeletereadingmisinformationdisinformationmisinformedcharlatansophistryfalseliesuntruthpropagandacensoredcancelledforbiddenprohibitedbanneduneducatedre-educationunlearn
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": "m14.5 7-5 5"
    }
  ],
  [
    "path",
    {
      "d": "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"
    }
  ],
  [
    "path",
    {
      "d": "m9.5 7 5 5"
    }
  ]
]