File Doc icon
bxs:file-doc
The File Doc icon (bxs:file-doc) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid 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
- BoxIcons v2 Solid
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- filedoc
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.186 14.552c-.617 0-.977.587-.977 1.373c0 .791.371 1.35.983 1.35c.617 0 .971-.588.971-1.374c0-.726-.348-1.349-.977-1.349"/><path fill="currentColor" d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zM9.155 17.454c-.426.354-1.073.521-1.864.521c-.475 0-.81-.03-1.038-.06v-3.971a8 8 0 0 1 1.235-.083c.768 0 1.266.138 1.655.432c.42.312.684.81.684 1.522c0 .775-.282 1.309-.672 1.639m2.99.546c-1.2 0-1.901-.906-1.901-2.058c0-1.211.773-2.116 1.967-2.116c1.241 0 1.919.929 1.919 2.045c-.001 1.325-.805 2.129-1.985 2.129m4.655-.762c.275 0 .581-.061.762-.132l.138.713c-.168.084-.546.174-1.037.174c-1.397 0-2.117-.869-2.117-2.021c0-1.379.983-2.146 2.207-2.146c.474 0 .833.096.995.18l-.186.726a2 2 0 0 0-.768-.15c-.726 0-1.29.438-1.29 1.338c0 .809.48 1.318 1.296 1.318M14 9h-1V4l5 5z"/><path fill="currentColor" d="M7.584 14.563c-.203 0-.335.018-.413.036v2.645c.078.018.204.018.317.018c.828.006 1.367-.449 1.367-1.415c.006-.84-.485-1.284-1.271-1.284"/></svg>How to use the File Doc icon
React
import { Icon } from "@iconify/react";
<Icon icon="bxs:file-doc" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bxs:file-doc" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bxs:file-doc" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bxs--file-doc]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bxs -->
<div class="i-bxs:file-doc"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bxs:file-doc"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bxs/file-doc.svg" alt="File Doc icon" width="24" height="24">Related icons in BoxIcons v2 Solid
File Doc icon in other icon sets
File Doc icon FAQ
Is the File Doc icon free for commercial use?
Yes. BoxIcons v2 Solid icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the File Doc icon in React?
Install @iconify/react and render <Icon icon="bxs:file-doc" />, or use “Copy code” on this page to get a standalone React component.
How do I add the File Doc icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bxs/file-doc.svg" alt="File Doc icon">, or paste the SVG code inline to style it with CSS.