ICONYZ
English
Doc2x icon from theSVG

Doc2x icon

thesvg:doc2x

The Doc2x icon (thesvg:doc2x) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 24 × 24 grid. theSVG 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
Author
thesvg.org
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor" fill-rule="evenodd"><path d="M21.66 7.017a3.308 3.308 0 1 0-4.677-4.678l-3.458 3.458a3.308 3.308 0 1 0 4.678 4.677l3.458-3.457zM10.475 18.203a3.308 3.308 0 1 0-4.678-4.678l-3.458 3.458a3.308 3.308 0 1 0 4.678 4.677z"/><path fill-opacity=".5" d="M18.203 13.525a3.308 3.308 0 1 0-4.678 4.678l3.458 3.458a3.308 3.308 0 0 0 4.678-4.678zM7.017 2.339a3.308 3.308 0 1 0-4.678 4.678l3.458 3.457a3.308 3.308 0 0 0 4.677-4.678z"/></g></svg>

How to use the Doc2x icon

React

import { Icon } from "@iconify/react";

<Icon icon="thesvg:doc2x" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="thesvg:doc2x" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="thesvg:doc2x" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--doc2x]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:doc2x"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="thesvg:doc2x"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/doc2x.svg" alt="Doc2x icon" width="24" height="24">

Doc2x icon in other icon sets

Doc2x icon FAQ

Is the Doc2x icon free for commercial use?

Yes. theSVG icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Doc2x icon in React?

Install @iconify/react and render <Icon icon="thesvg:doc2x" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Doc2x icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/thesvg/doc2x.svg" alt="Doc2x icon">, or paste the SVG code inline to style it with CSS.

Browse all theSVG icons →