A square with another cut out of it, for subtracting one shape from another. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

ShapesNewUnreleasedAdded
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M5 3L13 3C14.1046 3 15 3.8954 15 5L15 7C15 8.1046 14.1046 9 13 9L10 9C9.4477 9 9 9.4477 9 10L9 13C9 14.1046 8.1046 15 7 15L5 15C3.8954 15 3 14.1046 3 13L3 5C3 3.8954 3.8954 3 5 3ZM19 9C20.1046 9 21 9.8954 21 11L21 12.5M21 17.5L21 19C21 20.1046 20.1046 21 19 21L17.5 21M12.5 21L11 21C9.8954 21 9 20.1046 9 19"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • subtract
  • minus front
  • cut out
  • boolean
  • path operation
  • difference

Related icons

Closest to squares-subtract first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.

FAQ

Answered from squares-subtract's own facts: its shelf, the styles it was drawn in, its siblings and its dates.

What is the squares-subtract icon for?
A square with another cut out of it, for subtracting one shape from another. It is filed under Shapes in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as subtract, minus front, cut out, boolean, path operation and difference, and the browser's search matches all of those.
What styles does the squares-subtract icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of squares-subtract?
No. squares-subtract is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with squares-subtract?
squares-exclude, squares-unite, squares-intersect, grid-squares, grid-squares-plus and grid-squares-x, and 12 more, all shown below. Closest to squares-subtract first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.
How do I import squares-subtract in React?
<SquaresSubtract /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <SquaresSubtract size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the squares-subtract SVG?
icons/stroke/squares-subtract.svg, icons/two-tone/squares-subtract.svg, icons/duotone/squares-subtract.svg and icons/fill/squares-subtract.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was squares-subtract added to the set?
Added 25 Nov 2026. It is not in a tagged release yet: it is on the site and in the repository, and the next version will carry it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.