Two rows of ones and zeros, for binary data, bits, machine code and programming. 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="M17 10V3H15M15 10H19M7 21V14H5M5 21H9M4 6C4 4.3431 5.3431 3 7 3C8.6569 3 10 4.3431 10 6V7C10 8.6569 8.6569 10 7 10C5.3431 10 4 8.6569 4 7V6ZM14 17C14 15.3431 15.3431 14 17 14C18.6569 14 20 15.3431 20 17V18C20 19.6569 18.6569 21 17 21C15.3431 21 14 19.6569 14 18V17Z" fill="none"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- binary code
- zeros and ones
- bits
- data
- machine code
- digital
- programming
Related icons
The rest of the binary family first, then the Devices shelf.
FAQ
Answered from binary's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the binary icon for?
- Two rows of ones and zeros, for binary data, bits, machine code and programming. It is filed under Devices in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as binary code, zeros and ones, bits, data, machine code, digital and programming, and the browser's search matches all of those.
- What styles does the binary 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 binary?
- No. binary is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with binary?
- app-check, app-dot, app-minus, app-plus, app-window and app-window-2, and 12 more, all shown below. They are the Devices shelf: nothing else in the set is named after binary.
- How do I import binary in React?
- <Binary /> 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 <Binary size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the binary SVG?
- icons/stroke/binary.svg, icons/two-tone/binary.svg, icons/duotone/binary.svg and icons/fill/binary.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 binary added to the set?
- Added 21 Nov 2026. It ships in v2.9.0, so an install at that version or later has 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.