A D-shaped serial port with its pins, for serial and COM port connections. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

DevicesNewv3.2.0Added
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="M2.091 9.728C1.618 7.834 3.05 6 5.001 6H18.999C20.95 6 22.383 7.834 21.909 9.728L20.409 15.728C20.075 17.063 18.875 18 17.499 18H6.501C5.125 18 3.925 17.063 3.591 15.728L2.091 9.728Z"/>
  <path d="M9 10C9 10.552 8.552 11 8 11C7.448 11 7 10.552 7 10C7 9.448 7.448 9 8 9C8.552 9 9 9.448 9 10ZM13 10C13 10.552 12.552 11 12 11C11.448 11 11 10.552 11 10C11 9.448 11.448 9 12 9C12.552 9 13 9.448 13 10ZM17 10C17 10.552 16.552 11 16 11C15.448 11 15 10.552 15 10C15 9.448 15.448 9 16 9C16.552 9 17 9.448 17 10ZM11 14C11 14.552 10.552 15 10 15C9.448 15 9 14.552 9 14C9 13.448 9.448 13 10 13C10.552 13 11 13.448 11 14ZM15 14C15 14.552 14.552 15 14 15C13.448 15 13 14.552 13 14C13 13.448 13.448 13 14 13C14.552 13 15 13.448 15 14Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd" stroke="none"/>
</svg>

Also called

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

  • com port
  • rs232
  • connector
  • db9

Related icons

Closest to serial-port first: its name counts most, then what people search for it by, then the rest of the Devices shelf.

FAQ

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

What is the serial-port icon for?
A D-shaped serial port with its pins, for serial and COM port connections. 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 com port, rs232, connector and db9, and the browser's search matches all of those.
What styles does the serial-port 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 serial-port?
No. serial-port is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with serial-port?
serial-port-off, usb, cable, app-check, battery and binary, and 12 more, all shown below. Closest to serial-port first: its name counts most, then what people search for it by, then the rest of the Devices shelf.
How do I import serial-port in React?
<SerialPort /> 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 <SerialPort size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the serial-port SVG?
icons/stroke/serial-port.svg, icons/two-tone/serial-port.svg, icons/duotone/serial-port.svg and icons/fill/serial-port.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 serial-port added to the set?
Added 26 Nov 2026. It ships in v3.2.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.