The XOR gate, OR with a second curved back, for exclusive conditions in a circuit. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

DiagramsNewUnreleasedAdded
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="M6.2 6.6C6.0702 6.4269 6 6.2164 6 6C6 5.4477 6.4477 5 7 5C7.0471 5 7.0941 5.0033 7.1407 5.0099C11.4139 5.6172 15.2606 7.9252 17.8074 11.4099C17.9325 11.5812 18 11.7879 18 12C18 12.2121 17.9325 12.4188 17.8074 12.5901C15.2606 16.0748 11.4139 18.3828 7.1407 18.9901C7.0941 18.9967 7.0471 19 7 19C6.4477 19 6 18.5523 6 18C6 17.7836 6.0702 17.5731 6.2 17.4C7.3684 15.8421 8 13.9473 8 12C8 10.0527 7.3684 8.1579 6.2 6.6ZM2 6C2 7.0819 2.3509 8.1345 3 9C3.6491 9.8655 4 10.9181 4 12C4 13.0819 3.6491 14.1345 3 15C2.3509 15.8655 2 16.9181 2 18M18 12L22 12"/>
</svg>

Also called

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

  • xor gate
  • exclusive or
  • logic gate
  • boolean
  • circuit
  • parity

Related icons

Closest to gate-xor first: its name counts most, then what people search for it by, then the rest of the Diagrams shelf.

FAQ

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

What is the gate-xor icon for?
The XOR gate, OR with a second curved back, for exclusive conditions in a circuit. It is filed under Diagrams in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as xor gate, exclusive or, logic gate, boolean, circuit and parity, and the browser's search matches all of those.
What styles does the gate-xor 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 gate-xor?
No. gate-xor is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with gate-xor?
gate-or, gate-nor, gate-xnor, gate-and, gate-not and gate-nand, and 12 more, all shown below. Closest to gate-xor first: its name counts most, then what people search for it by, then the rest of the Diagrams shelf.
How do I import gate-xor in React?
<GateXor /> 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 <GateXor size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the gate-xor SVG?
icons/stroke/gate-xor.svg, icons/two-tone/gate-xor.svg, icons/duotone/gate-xor.svg and icons/fill/gate-xor.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 gate-xor 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.