rect from Devicon by konpa · Original · MIT Free for personal and commercial use.

Name
rect
Set
Devicon
Style
Original
Viewbox
128×128
License
MIT

Use the rect logo

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>

React

import type { SVGProps } from "react";

export function DeviconRect(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 128 128"><path fill="#292929" d="M0 0h128v128H0z"/><path stroke="#fff" strokeWidth="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>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" 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>
</template>

CSS

.icon-rect {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cpath%20fill%3D%22%23292929%22%20d%3D%22M0%200h128v128H0z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-width%3D%224.853%22%20d%3D%22M5.762%205.762h116.476v116.476H5.762zm0%200%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M75.07%2095.09H56.113v18.957H75.07v-3.79H59.906v-3.792h7.43v-3.793h-7.43v-3.79H75.07zm22.598%200H78.863v18.957h18.805v-3.79H82.504V98.884h15.164zm22.14%200h-18.195v3.793h7.582v15.164h3.79V98.883h6.824zm-86.593%200v18.957h3.789V98.883h11.375v7.582h3.793V95.09zm0%200%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M48.379%20102.672H37.004v3.793h7.582v3.793h3.793zm3.793%207.586h-3.793v3.789h3.793zm0%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20128%20128%22%3E%3Cpath%20fill%3D%22%23292929%22%20d%3D%22M0%200h128v128H0z%22%2F%3E%3Cpath%20stroke%3D%22%23fff%22%20stroke-width%3D%224.853%22%20d%3D%22M5.762%205.762h116.476v116.476H5.762zm0%200%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M75.07%2095.09H56.113v18.957H75.07v-3.79H59.906v-3.792h7.43v-3.793h-7.43v-3.79H75.07zm22.598%200H78.863v18.957h18.805v-3.79H82.504V98.884h15.164zm22.14%200h-18.195v3.793h7.582v15.164h3.79V98.883h6.824zm-86.593%200v18.957h3.789V98.883h11.375v7.582h3.793V95.09zm0%200%22%2F%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M48.379%20102.672H37.004v3.793h7.582v3.793h3.793zm3.793%207.586h-3.793v3.789h3.793zm0%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/devicon/rect.svg?color=%231a73e8&size=48