File Document icon
gg:file-document
The File Document icon (gg:file-document) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg 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="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M7 18h10v-2H7zm10-4H7v-2h10zM7 10h4V8H7z"/><path fill-rule="evenodd" d="M6 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V9a7 7 0 0 0-7-7zm0 2h7v5h6v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 .1A5.01 5.01 0 0 1 18.584 7H15z" clip-rule="evenodd"/></g></svg>How to use the File Document icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:file-document" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:file-document" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:file-document" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--file-document]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:file-document"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:file-document"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/file-document.svg" alt="File Document icon" width="24" height="24">Related icons in css.gg
File Document icon in other icon sets
File Document icon FAQ
Is the File Document icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Document icon in React?
Install @iconify/react and render <Icon icon="gg:file-document" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Document icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/file-document.svg" alt="File Document icon">, or paste the SVG code inline to style it with CSS.