Root Folder icon
codicon:root-folder
The Root Folder icon (codicon:root-folder) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- rootfolder
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="M4.5 7A4.505 4.505 0 0 0 0 11.5C0 13.981 2.019 16 4.5 16S9 13.981 9 11.5S6.981 7 4.5 7m0 8C2.57 15 1 13.43 1 11.5S2.57 8 4.5 8S8 9.57 8 11.5S6.43 15 4.5 15M7 11.5a2.5 2.5 0 1 1-5 0a2.5 2.5 0 0 1 5 0m8-5v5a2.5 2.5 0 0 1-2.5 2.5H10v-1h2.5a1.5 1.5 0 0 0 1.5-1.5v-5A1.5 1.5 0 0 0 12.5 5H8.207l-1 1H5.586c.133 0 .26-.053.354-.146L7.294 4.5L5.94 3.146A.5.5 0 0 0 5.586 3H3.5A1.5 1.5 0 0 0 2 4.5V6H1V4.5A2.5 2.5 0 0 1 3.5 2h2.086c.398 0 .779.158 1.061.439L8.208 4h4.293a2.5 2.5 0 0 1 2.5 2.5z" clip-rule="evenodd"/></svg>How to use the Root Folder icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:root-folder" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:root-folder" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:root-folder" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--root-folder]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:root-folder"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:root-folder"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/root-folder.svg" alt="Root Folder icon" width="24" height="24">Related icons in Codicons
Root Folder icon FAQ
Is the Root Folder icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Root Folder icon in React?
Install @iconify/react and render <Icon icon="codicon:root-folder" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Root Folder icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/root-folder.svg" alt="Root Folder icon">, or paste the SVG code inline to style it with CSS.