Compress icon
icons8:compress
The Compress icon (icons8:compress) is a free SVG icon from the Icons8 Windows 10 Icons set by Icons8. It is drawn on a 32 × 32 grid. Icons8 Windows 10 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
- Icons8 Windows 10 Icons
- Author
- Icons8
- License
- MIT
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M28.28 2.28L19 11.595V3h-2v12h12v-2h-8.594l9.313-9.28l-1.44-1.44zM3 17v2h8.594L2.28 28.28l1.44 1.44L13 20.405V29h2V17z"/></svg>How to use the Compress icon
React
import { Icon } from "@iconify/react";
<Icon icon="icons8:compress" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icons8:compress" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icons8:compress" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icons8--compress]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icons8 -->
<div class="i-icons8:compress"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icons8:compress"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icons8/compress.svg" alt="Compress icon" width="24" height="24">Compress icon in other icon sets
Compress icon FAQ
Is the Compress icon free for commercial use?
Yes. Icons8 Windows 10 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Compress icon in React?
Install @iconify/react and render <Icon icon="icons8:compress" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Compress icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icons8/compress.svg" alt="Compress icon">, or paste the SVG code inline to style it with CSS.