Two squares with their overlap cut away, for excluding the overlap between shapes. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<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 8C15 8.5523 15.4477 9 16 9L19 9C20.1046 9 21 9.8954 21 11L21 19C21 20.1046 20.1046 21 19 21L11 21C9.8954 21 9 20.1046 9 19L9 16C9 15.4477 8.5523 15 8 15L5 15C3.8954 15 3 14.1046 3 13L3 5C3 3.8954 3.8954 3 5 3ZM11 9C9.8954 9 9 9.8954 9 11M15 13C15 14.1046 14.1046 15 13 15"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- exclude
- xor
- difference
- boolean
- path operation
- cut overlap
Related icons
Closest to squares-exclude first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.
FAQ
Answered from squares-exclude's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the squares-exclude icon for?
- Two squares with their overlap cut away, for excluding the overlap between shapes. 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 exclude, xor, difference, boolean, path operation and cut overlap, and the browser's search matches all of those.
- What styles does the squares-exclude 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-exclude?
- No. squares-exclude is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with squares-exclude?
- squares-subtract, squares-intersect, squares-unite, grid-squares, grid-squares-plus and grid-squares-x, and 12 more, all shown below. Closest to squares-exclude first: its name counts most, then what people search for it by, then the rest of the Shapes shelf.
- How do I import squares-exclude in React?
- <SquaresExclude /> 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 <SquaresExclude size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the squares-exclude SVG?
- icons/stroke/squares-exclude.svg, icons/two-tone/squares-exclude.svg, icons/duotone/squares-exclude.svg and icons/fill/squares-exclude.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-exclude 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.