ICONYZ
English
Rectangle Stack icon from HeroIcons

Rectangle Stack icon

heroicons:rectangle-stack

The Rectangle Stack icon (heroicons:rectangle-stack) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
HeroIcons
Author
Refactoring UI Inc
License
MIT
Size
24 × 24
Tags
rectanglestack
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0q.354-.126.75-.128h10.5q.396.002.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.3 2.3 0 0 0-.75-.128H5.25q-.396.002-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"/></svg>

How to use the Rectangle Stack icon

React

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

<Icon icon="heroicons:rectangle-stack" width="24" />

Vue

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

<template>
  <Icon icon="heroicons:rectangle-stack" width="24" />
</template>

Svelte

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

<Icon icon="heroicons:rectangle-stack" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--rectangle-stack]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:rectangle-stack"></div>

Web component

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

<iconify-icon icon="heroicons:rectangle-stack"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/heroicons/rectangle-stack.svg" alt="Rectangle Stack icon" width="24" height="24">

Related icons in HeroIcons

Rectangle Stack icon in other icon sets

Rectangle Stack icon FAQ

Is the Rectangle Stack icon free for commercial use?

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

How do I use the Rectangle Stack icon in React?

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

How do I add the Rectangle Stack icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/rectangle-stack.svg" alt="Rectangle Stack icon">, or paste the SVG code inline to style it with CSS.

Browse all HeroIcons →