Google Docs icon
thesvg-color:google-docs
The Google Docs icon (thesvg-color:google-docs) is a free SVG icon from the theSVG Color set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG Color 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
- theSVG Color
- Author
- thesvg.org
- License
- MIT
- Size
- 24 × 24
- Tags
- googledocs, doc
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#4285f4" d="M14.727 6.727H14V0H4.91c-.905 0-1.637.732-1.637 1.636v20.728c0 .904.732 1.636 1.636 1.636h14.182c.904 0 1.636-.732 1.636-1.636V6.727zm-.545 10.455H7.09v-1.364h7.09v1.364zm2.727-3.273H7.091v-1.364h9.818zm0-3.273H7.091V9.273h9.818zM14.727 6h6l-6-6z"/></svg>How to use the Google Docs icon
React
import { Icon } from "@iconify/react";
<Icon icon="thesvg-color:google-docs" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="thesvg-color:google-docs" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="thesvg-color:google-docs" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg-color--google-docs]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/thesvg-color -->
<div class="i-thesvg-color:google-docs"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="thesvg-color:google-docs"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/thesvg-color/google-docs.svg" alt="Google Docs icon" width="24" height="24">Related icons in theSVG Color
Google Docs icon in other icon sets
Google Docs icon FAQ
Is the Google Docs icon free for commercial use?
Yes. theSVG Color icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Google Docs icon in React?
Install @iconify/react and render <Icon icon="thesvg-color:google-docs" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Google Docs icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg-color/google-docs.svg" alt="Google Docs icon">, or paste the SVG code inline to style it with CSS.