stack from css.gg by Astrit · Outline · MIT Free for personal and commercial use.

Name
stack
Set
css.gg
Style
Outline
Viewbox
24×24
License
MIT

The same icon in other sets

Use the stack icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path d="M20 4v12h2V2H8v2z"/><path fill-rule="evenodd" d="M2 8v14h14V8zm12 2H4v10h10z" clip-rule="evenodd"/><path d="M17 7H5V5h14v14h-2z"/></g></svg>

React

import type { SVGProps } from "react";

export function GgStack(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path d="M20 4v12h2V2H8v2z"/><path fillRule="evenodd" d="M2 8v14h14V8zm12 2H4v10h10z" clipRule="evenodd"/><path d="M17 7H5V5h14v14h-2z"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path d="M20 4v12h2V2H8v2z"/><path fill-rule="evenodd" d="M2 8v14h14V8zm12 2H4v10h10z" clip-rule="evenodd"/><path d="M17 7H5V5h14v14h-2z"/></g></svg>
</template>

CSS

.icon-stack {
  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%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M20%204v12h2V2H8v2z%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2%208v14h14V8zm12%202H4v10h10z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M17%207H5V5h14v14h-2z%22%2F%3E%3C%2Fg%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%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M20%204v12h2V2H8v2z%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M2%208v14h14V8zm12%202H4v10h10z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M17%207H5V5h14v14h-2z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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