Shape Trim icon
boxicons:shape-trim
The Shape Trim icon (boxicons:shape-trim) 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-5V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h5v5c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1M8 9v5H4V4h10v4H9c-.55 0-1 .45-1 1m12 11H10V10h10z"/></svg>How to use the Shape Trim icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:shape-trim" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:shape-trim" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:shape-trim" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--shape-trim]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:shape-trim"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:shape-trim"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/shape-trim.svg" alt="Shape Trim 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
shape-subtract-alt
shape-subtract-alt-filled
shape-subtract-filled
shape-trim-alt
shape-trim-alt-filled
shape-trim-filled
shape-unite
Shape Trim icon FAQ
Is the Shape Trim 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 Trim icon in React?
Install @iconify/react and render <Icon icon="boxicons:shape-trim" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Shape Trim icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/shape-trim.svg" alt="Shape Trim icon">, or paste the SVG code inline to style it with CSS.