file-badge

Animated React component — FileBadge / FileBadgeIcon

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

Import

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

import { FileBadge } from "lucide-motion";

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

Quick start

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

import { FileBadge } from "lucide-motion";

<FileBadge 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
awardachievementbadgerosetteprizewinner
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 2v3.3"
    }
  ],
  [
    "path",
    {
      "d": "M14 2v5a1 1 0 0 0 1 1h5"
    }
  ],
  [
    "path",
    {
      "d": "m7.69 16.479 1.29 4.88a.5.5 0 0 1-.698.591l-1.843-.849a1 1 0 0 0-.879.001l-1.846.85a.5.5 0 0 1-.692-.593l1.29-4.88"
    }
  ],
  [
    "circle",
    {
      "cx": "6",
      "cy": "14",
      "r": "3"
    }
  ]
]