ICONYZ
English
Modal icon from theSVG

Modal icon

thesvg:modal

The Modal icon (thesvg:modal) 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"><path fill="currentColor" d="M4.89 5.57L0 14.002l2.521 4.4h5.05l4.396-7.718l4.512 7.709l4.996.037L24 14.057l-4.857-8.452l-5.073-.015l-2.076 3.598L9.94 5.57Zm.837.729h3.787l1.845 3.252H7.572Zm9.189.021l3.803.012l4.228 7.355l-3.736-.027zm-9.82.346L6.94 9.914l-4.209 7.389l-1.892-3.3Zm9.187.014l4.297 7.343l-1.892 3.282l-4.3-7.344zm-6.713 3.6h3.79l-4.212 7.394H3.361Zm11.64 4.109l3.74.027l-1.893 3.281l-3.74-.027z"/></svg>

How to use the Modal icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Modal icon in other icon sets

Modal icon FAQ

Is the Modal 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 Modal icon in React?

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

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

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

Browse all theSVG icons →