folder-tree

Animated React component — FolderTree / FolderTreeIcon

Hover the folder-tree icon above to see the default draw animation.

Import

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

import { FolderTree } from "lucide-motion";

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

Quick start

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

import { FolderTree } from "lucide-motion";

<FolderTree 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
directorytreebrowser
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": "M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"
    }
  ],
  [
    "path",
    {
      "d": "M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z"
    }
  ],
  [
    "path",
    {
      "d": "M3 5a2 2 0 0 0 2 2h3"
    }
  ],
  [
    "path",
    {
      "d": "M3 3v13a2 2 0 0 0 2 2h3"
    }
  ]
]