ICONYZ
English
Rect icon from Devicon

Rect icon

devicon:rect

The Rect icon (devicon:rect) is a free SVG icon from the Devicon set by konpa. It is drawn on a 128 × 128 grid. Devicon 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
Devicon
Author
konpa
License
MIT
Size
128 × 128
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><path fill="#292929" d="M0 0h128v128H0z"/><path stroke="#fff" stroke-width="4.853" d="M5.762 5.762h116.476v116.476H5.762zm0 0"/><path fill="#fff" d="M75.07 95.09H56.113v18.957H75.07v-3.79H59.906v-3.792h7.43v-3.793h-7.43v-3.79H75.07zm22.598 0H78.863v18.957h18.805v-3.79H82.504V98.884h15.164zm22.14 0h-18.195v3.793h7.582v15.164h3.79V98.883h6.824zm-86.593 0v18.957h3.789V98.883h11.375v7.582h3.793V95.09zm0 0"/><path fill="#fff" d="M48.379 102.672H37.004v3.793h7.582v3.793h3.793zm3.793 7.586h-3.793v3.789h3.793zm0 0"/></svg>

How to use the Rect icon

React

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

<Icon icon="devicon:rect" width="24" />

Vue

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

<template>
  <Icon icon="devicon:rect" width="24" />
</template>

Svelte

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

<Icon icon="devicon:rect" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="devicon:rect"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/devicon/rect.svg" alt="Rect icon" width="24" height="24">

Rect icon in other icon sets

Rect icon FAQ

Is the Rect icon free for commercial use?

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

How do I use the Rect icon in React?

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

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

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

Browse all Devicon icons →