Compress icon
uit:compress
The Compress icon (uit:compress) is a free SVG icon from the Unicons Thin Line set by Iconscout. It is drawn on a 24 × 24 grid. Unicons Thin Line icons are released under the Apache 2.0 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
- Unicons Thin Line
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Design Tools
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7.5 16h-5a.5.5 0 0 0 0 1H7v4.5a.5.5 0 1 0 1 0v-5a.5.5 0 0 0-.5-.5m9-8h5a.5.5 0 0 0 0-1H17V2.5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 .5.5m-9-6a.5.5 0 0 0-.5.5V7H2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5m14 14h-5a.5.5 0 0 0-.5.5v5a.5.5 0 1 0 1 0V17h4.5a.5.5 0 0 0 0-1"/></svg>How to use the Compress icon
React
import { Icon } from "@iconify/react";
<Icon icon="uit:compress" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uit:compress" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uit:compress" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uit--compress]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uit -->
<div class="i-uit:compress"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uit:compress"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uit/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. Unicons Thin Line icons are released under the Apache 2.0 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="uit: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/uit/compress.svg" alt="Compress icon">, or paste the SVG code inline to style it with CSS.