Document Text icon
ion:document-text
The Document Text icon (ion:document-text) is a free SVG icon from the IonIcons set by Ben Sperry. It is drawn on a 512 × 512 grid. IonIcons 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
- IonIcons
- Author
- Ben Sperry
- License
- MIT
- Size
- 512 × 512
- Tags
- documenttext
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M428 224H288a48 48 0 0 1-48-48V36a4 4 0 0 0-4-4h-92a64 64 0 0 0-64 64v320a64 64 0 0 0 64 64h224a64 64 0 0 0 64-64V228a4 4 0 0 0-4-4m-92 160H176a16 16 0 0 1 0-32h160a16 16 0 0 1 0 32m0-80H176a16 16 0 0 1 0-32h160a16 16 0 0 1 0 32"/><path fill="currentColor" d="M419.22 188.59L275.41 44.78a2 2 0 0 0-3.41 1.41V176a16 16 0 0 0 16 16h129.81a2 2 0 0 0 1.41-3.41"/></svg>How to use the Document Text icon
React
import { Icon } from "@iconify/react";
<Icon icon="ion:document-text" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ion:document-text" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ion:document-text" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ion--document-text]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ion -->
<div class="i-ion:document-text"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ion:document-text"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ion/document-text.svg" alt="Document Text icon" width="24" height="24">Related icons in IonIcons
Document Text icon in other icon sets
Document Text icon FAQ
Is the Document Text icon free for commercial use?
Yes. IonIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Document Text icon in React?
Install @iconify/react and render <Icon icon="ion:document-text" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Document Text icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ion/document-text.svg" alt="Document Text icon">, or paste the SVG code inline to style it with CSS.