The NAND gate, AND with an inverting bubble, for logic circuits and universal gates. 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="M9 5L11 5C14.866 5 18 8.134 18 12C18 15.866 14.866 19 11 19L9 19C7.8954 19 7 18.1046 7 17L7 7C7 5.8954 7.8954 5 9 5ZM2 8L7 8M2 16L7 16M18 12C18 10.8954 18.8954 10 20 10C21.1046 10 22 10.8954 22 12C22 13.1046 21.1046 14 20 14C18.8954 14 18 13.1046 18 12Z"/>
</svg>

Also called

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

  • nand gate
  • not and
  • logic gate
  • boolean
  • circuit
  • digital logic

Related icons

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

FAQ

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

What is the gate-nand icon for?
The NAND gate, AND with an inverting bubble, for logic circuits and universal gates. 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 nand gate, not and, logic gate, boolean, circuit and digital logic, and the browser's search matches all of those.
What styles does the gate-nand 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-nand?
No. gate-nand is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with gate-nand?
gate-and, gate-nor, gate-not, gate-or, gate-xor and gate-xnor, and 12 more, all shown below. Closest to gate-nand first: its name counts most, then what people search for it by, then the rest of the Diagrams shelf.
How do I import gate-nand in React?
<GateNand /> 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 <GateNand size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the gate-nand SVG?
icons/stroke/gate-nand.svg, icons/two-tone/gate-nand.svg, icons/duotone/gate-nand.svg and icons/fill/gate-nand.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-nand 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.