file-heart

Animated React component — FileHeart / FileHeartIcon

Hover the file-heart icon above to see the default draw animation.

Import

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

import { FileHeart } from "lucide-motion";

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

Quick start

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

import { FileHeart } from "lucide-motion";

<FileHeart 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
heartfavouritebookmarkquick link
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": "M13 22h5a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v7"
    }
  ],
  [
    "path",
    {
      "d": "M14 2v5a1 1 0 0 0 1 1h5"
    }
  ],
  [
    "path",
    {
      "d": "M3.62 18.8A2.25 2.25 0 1 1 7 15.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a1 1 0 0 1-1.507 0z"
    }
  ]
]