Directory Solid icon
clarity:directory-solid
The Directory Solid icon (clarity:directory-solid) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M30 9H16.42l-2.31-3.18A2 2 0 0 0 12.49 5H6a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V11a2 2 0 0 0-2-2M6 11V7h6.49l2.72 4Z" class="clr-i-solid clr-i-solid-path-1"/><path fill="none" d="M0 0h36v36H0z"/></svg>How to use the Directory Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="clarity:directory-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="clarity:directory-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="clarity:directory-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--directory-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:directory-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="clarity:directory-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/clarity/directory-solid.svg" alt="Directory Solid icon" width="24" height="24">Related icons in Clarity
Directory Solid icon FAQ
Is the Directory Solid icon free for commercial use?
Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Directory Solid icon in React?
Install @iconify/react and render <Icon icon="clarity:directory-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Directory Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/directory-solid.svg" alt="Directory Solid icon">, or paste the SVG code inline to style it with CSS.