Document 2 Line Duotone icon
solar:document-2-line-duotone
The Document 2 Line Duotone icon (solar:document-2-line-duotone) is a free SVG icon from the Solar set by 480 Design. It is drawn on a 24 × 24 grid. Solar icons 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
- Solar
- Author
- 480 Design
- License
- CC-BY-4.0
- Size
- 24 × 24
- Category
- School
- Tags
- documentline, lineduotone, documentlineduotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.5"><path d="M4 6V19C4 20.6569 5.34315 22 7 22H17C18.6569 22 20 20.6569 20 19V9C20 7.34315 18.6569 6 17 6H4ZM4 6V5"/><path stroke-linecap="round" d="M8 12H16" opacity=".5"/><path stroke-linecap="round" d="M8 15.5H13.5" opacity=".5"/><path d="M18 4.30604V6.00002H5.07107C4.47953 6.00002 4 5.52049 4 4.92895C4 4.39594 4.39193 3.94403 4.91959 3.86865L15.7172 2.32614C16.922 2.15402 18 3.08894 18 4.30604Z"/></g></svg>How to use the Document 2 Line Duotone icon
React
import { Icon } from "@iconify/react";
<Icon icon="solar:document-2-line-duotone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="solar:document-2-line-duotone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="solar:document-2-line-duotone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[solar--document-2-line-duotone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/solar -->
<div class="i-solar:document-2-line-duotone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="solar:document-2-line-duotone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/solar/document-2-line-duotone.svg" alt="Document 2 Line Duotone icon" width="24" height="24">Related icons in Solar
Document 2 Line Duotone icon FAQ
Is the Document 2 Line Duotone icon free for commercial use?
Yes. Solar icons 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 Document 2 Line Duotone icon in React?
Install @iconify/react and render <Icon icon="solar:document-2-line-duotone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Document 2 Line Duotone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/solar/document-2-line-duotone.svg" alt="Document 2 Line Duotone icon">, or paste the SVG code inline to style it with CSS.