Shape Subtract icon
boxicons:shape-subtract
The Shape Subtract icon (boxicons:shape-subtract) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21 8h-5V7h-2v4h2v-1h4v10H10v-4h1v-2H7v2h1v5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1M4 4h1V2H3c-.55 0-1 .45-1 1v2h2zm3-2h4v2H7zm9 3V3c0-.55-.45-1-1-1h-2v2h1v1z"/><path fill="currentColor" d="M13 16h2c.55 0 1-.45 1-1v-2h-2v1h-1zM3 16h2v-2H4v-1H2v2c0 .55.45 1 1 1M2 7h2v4H2z"/></svg>How to use the Shape Subtract icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:shape-subtract" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:shape-subtract" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:shape-subtract" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--shape-subtract]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:shape-subtract"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:shape-subtract"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/shape-subtract.svg" alt="Shape Subtract icon" width="24" height="24">Related icons in Boxicons
shape-exclude
shape-exclude-alt
shape-exclude-alt-filled
shape-exclude-filled
shape-intersect
shape-intersect-alt
shape-intersect-alt-filled
shape-intersect-filled
shape-outline
shape-outline-alt
shape-outline-alt-filled
shape-outline-filled
shape-rotate-ccw
shape-rotate-ccw-filled
shape-rotate-cw
shape-rotate-cw-filled
shape-subtract-alt
shape-subtract-alt-filled
shape-subtract-filled
shape-trim
shape-trim-alt
shape-trim-alt-filled
shape-trim-filled
shape-unite
Shape Subtract icon in other icon sets
Shape Subtract icon FAQ
Is the Shape Subtract icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Shape Subtract icon in React?
Install @iconify/react and render <Icon icon="boxicons:shape-subtract" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Shape Subtract icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/shape-subtract.svg" alt="Shape Subtract icon">, or paste the SVG code inline to style it with CSS.