ICONYZ
English
File Tree icon from Gitlab SVGs

File Tree icon

pajamas:file-tree

The File Tree icon (pajamas:file-tree) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Gitlab SVGs
Author
GitLab B.V.
License
MIT
Size
24 × 24
Tags
filetree
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M2.5 1.75a.75.75 0 0 0-1.5 0v8.5a3 3 0 0 0 3 3h3V14a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v.75H4a1.5 1.5 0 0 1-1.5-1.5V6.849c.441.255.954.401 1.5.401h3V8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v.75H4a1.5 1.5 0 0 1-1.5-1.5zm11 11.75h-5v-2h5zm-5-6v-2h5v2z" clip-rule="evenodd"/></svg>

How to use the File Tree icon

React

import { Icon } from "@iconify/react";

<Icon icon="pajamas:file-tree" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="pajamas:file-tree" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="pajamas:file-tree" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--file-tree]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:file-tree"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="pajamas:file-tree"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pajamas/file-tree.svg" alt="File Tree icon" width="24" height="24">

Related icons in Gitlab SVGs

File Tree icon in other icon sets

File Tree icon FAQ

Is the File Tree icon free for commercial use?

Yes. Gitlab SVGs icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the File Tree icon in React?

Install @iconify/react and render <Icon icon="pajamas:file-tree" />, or use “Copy code” on this page to get a standalone React component.

How do I add the File Tree icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pajamas/file-tree.svg" alt="File Tree icon">, or paste the SVG code inline to style it with CSS.

Browse all Gitlab SVGs icons →