Gentleface › Files & folders › folder-tree
folder-tree icon
folder-treeFolder tree: folder tree, directory structure, file tree, subdirectory. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated folder-tree-branch · line-round
The folders fold into their branch ends, the branches pull back into the trunk and the trunk withdraws to the top. The trunk then draws down, a branch grows out as it passes, and each folder opens from its branch tip.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 1.95 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5L3 4L5.5 4C5.641 4 5.759 4.048 5.856 4.144C5.952 4.241 6 4.359 6 4.5C6 4.641 5.952 4.759 5.856 4.856C5.759 4.952 5.641 5 5.5 5L3 5L3 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144ZM9.638 1.168C9.908 1.28 10.147 1.439 10.354 1.646C10.589 1.882 10.874 2 11.207 2L14 2C14.276 2 14.512 2.098 14.707 2.293C14.902 2.488 15 2.724 15 3L15 6C15 6.276 14.902 6.512 14.707 6.707C14.512 6.902 14.276 7 14 7L8 7C7.724 7 7.488 6.902 7.293 6.707C7.098 6.512 7 6.276 7 6L7 2C7 1.724 7.098 1.488 7.293 1.293C7.488 1.098 7.724 1 8 1L8.793 1C9.086 1 9.367 1.056 9.638 1.168ZM14 6L14 3L11.207 3C10.914 3 10.633 2.944 10.362 2.832C10.092 2.72 9.853 2.561 9.646 2.354C9.411 2.118 9.126 2 8.793 2L8 2L8 6L14 6ZM14.707 10.293C14.902 10.488 15 10.724 15 11L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L8 15C7.724 15 7.488 14.902 7.293 14.707C7.098 14.512 7 14.276 7 14L7 10C7 9.724 7.098 9.488 7.293 9.293C7.488 9.098 7.724 9 8 9L8.793 9C9.086 9 9.367 9.056 9.638 9.168C9.908 9.28 10.147 9.439 10.354 9.646C10.589 9.882 10.874 10 11.207 10L14 10C14.276 10 14.512 10.098 14.707 10.293ZM11.207 11C10.914 11 10.633 10.944 10.362 10.832C10.092 10.72 9.853 10.561 9.646 10.354C9.411 10.118 9.126 10 8.793 10L8 10L8 14L14 14L14 11L11.207 11Z"/></svg>
// Gentleface "folder-tree" (line-round), MIT. https://gentleface.com/icons/folder-tree
import type { SVGProps } from 'react';
export function FolderTreeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M5.856 12.144C5.952 12.241 6 12.359 6 12.5C6 12.641 5.952 12.759 5.856 12.856C5.759 12.952 5.641 13 5.5 13L2.5 13C2.359 13 2.241 12.952 2.144 12.856C2.048 12.759 2 12.641 2 12.5L2 1.5C2 1.359 2.048 1.241 2.144 1.144C2.241 1.048 2.359 1 2.5 1C2.641 1 2.759 1.048 2.856 1.144C2.952 1.241 3 1.359 3 1.5L3 4L5.5 4C5.641 4 5.759 4.048 5.856 4.144C5.952 4.241 6 4.359 6 4.5C6 4.641 5.952 4.759 5.856 4.856C5.759 4.952 5.641 5 5.5 5L3 5L3 12L5.5 12C5.641 12 5.759 12.048 5.856 12.144ZM9.638 1.168C9.908 1.28 10.147 1.439 10.354 1.646C10.589 1.882 10.874 2 11.207 2L14 2C14.276 2 14.512 2.098 14.707 2.293C14.902 2.488 15 2.724 15 3L15 6C15 6.276 14.902 6.512 14.707 6.707C14.512 6.902 14.276 7 14 7L8 7C7.724 7 7.488 6.902 7.293 6.707C7.098 6.512 7 6.276 7 6L7 2C7 1.724 7.098 1.488 7.293 1.293C7.488 1.098 7.724 1 8 1L8.793 1C9.086 1 9.367 1.056 9.638 1.168ZM14 6L14 3L11.207 3C10.914 3 10.633 2.944 10.362 2.832C10.092 2.72 9.853 2.561 9.646 2.354C9.411 2.118 9.126 2 8.793 2L8 2L8 6L14 6ZM14.707 10.293C14.902 10.488 15 10.724 15 11L15 14C15 14.276 14.902 14.512 14.707 14.707C14.512 14.902 14.276 15 14 15L8 15C7.724 15 7.488 14.902 7.293 14.707C7.098 14.512 7 14.276 7 14L7 10C7 9.724 7.098 9.488 7.293 9.293C7.488 9.098 7.724 9 8 9L8.793 9C9.086 9 9.367 9.056 9.638 9.168C9.908 9.28 10.147 9.439 10.354 9.646C10.589 9.882 10.874 10 11.207 10L14 10C14.276 10 14.512 10.098 14.707 10.293ZM11.207 11C10.914 11 10.633 10.944 10.362 10.832C10.092 10.72 9.853 10.561 9.646 10.354C9.411 10.118 9.126 10 8.793 10L8 10L8 14L14 14L14 11L11.207 11Z" />
</svg>
);
}Vue: see /icons/folder-tree.md
Svelte: see /icons/folder-tree.md
HTML img: see /icons/folder-tree.md
CSS: see /icons/folder-tree.md
Data URL: see /icons/folder-tree.md
Sprite: see /icons/folder-tree.md
SwiftUI: see /icons/folder-tree.md
Compose: see /icons/folder-tree.md
Android XML: see /icons/folder-tree.md
Flutter: see /icons/folder-tree.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { FolderTreeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- folder tree, directory structure, file tree, subdirectory
- Alternatives
- Also fits
- sitemap: folders on disk (directory-structure)
- Tags
- directory, tree, hierarchy, structure, explorer, nested, subfolders, file-tree, navigator, folder
- Category
- Files & folders
- Component name
FolderTreeIcon- History
- released in 0.2.0
- added
- 20 px drawn, 24 px drawn
- Since
- version 0.2.0
Family 45
More files & folders icons
archive archive-arrow-up archive-clock archive-gear archive-lock archive-off archive-search archive-x book book-a book-alert book-arrow-down book-arrow-up book-bookmark book-check book-clock · all files & folders icons
For agents
Metadata: /icons/folder-tree.json · Markdown: /icons/folder-tree.md · SVG: https://gentleface.com/svg/{style}/16/folder-tree.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/folder-tree.png