Document icon
heroicons:document
The Document icon (heroicons:document) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9"/></svg>How to use the Document icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:document" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:document" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:document" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--document]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:document"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:document"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/document.svg" alt="Document icon" width="24" height="24">Related icons in HeroIcons
document-16-solid
document-20-solid
document-arrow-down
document-arrow-down-16-solid
document-arrow-down-20-solid
document-arrow-down-solid
document-arrow-up
document-arrow-up-16-solid
document-arrow-up-20-solid
document-arrow-up-solid
document-chart-bar
document-chart-bar-16-solid
document-chart-bar-20-solid
document-chart-bar-solid
document-check
document-check-16-solid
document-check-20-solid
document-check-solid
document-currency-bangladeshi
document-currency-bangladeshi-16-solid
document-currency-bangladeshi-20-solid
document-currency-bangladeshi-solid
document-currency-dollar
document-currency-dollar-16-solid
Document icon in other icon sets
Document icon FAQ
Is the Document icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Document icon in React?
Install @iconify/react and render <Icon icon="heroicons:document" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Document icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/document.svg" alt="Document icon">, or paste the SVG code inline to style it with CSS.