socket icon

socket from Carbon by IBM · Outline · Tools · Apache-2.0 Free for personal and commercial use.

Name
socket
Set
Carbon
Style
Outline
Category
Tools
Viewbox
32×32
License
Apache 2.0

The same icon in other sets

More tools icons from Carbon

Use the socket icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M29 30H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v26a1 1 0 0 1-1 1M4 28h24V4H4zm12-2c-5.514 0-10-4.486-10-10S10.486 6 16 6s10 4.486 10 10s-4.486 10-10 10m0-18c-4.411 0-8 3.589-8 8s3.589 8 8 8s8-3.589 8-8s-3.589-8-8-8m-2.5 8a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0m8 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></svg>

React

import type { SVGProps } from "react";

export function CarbonSocket(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M29 30H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v26a1 1 0 0 1-1 1M4 28h24V4H4zm12-2c-5.514 0-10-4.486-10-10S10.486 6 16 6s10 4.486 10 10s-4.486 10-10 10m0-18c-4.411 0-8 3.589-8 8s3.589 8 8 8s8-3.589 8-8s-3.589-8-8-8m-2.5 8a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0m8 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 32 32"><path fill="currentColor" d="M29 30H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h26a1 1 0 0 1 1 1v26a1 1 0 0 1-1 1M4 28h24V4H4zm12-2c-5.514 0-10-4.486-10-10S10.486 6 16 6s10 4.486 10 10s-4.486 10-10 10m0-18c-4.411 0-8 3.589-8 8s3.589 8 8 8s8-3.589 8-8s-3.589-8-8-8m-2.5 8a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0m8 0a1.5 1.5 0 1 0-3 0a1.5 1.5 0 0 0 3 0"/></svg>
</template>

CSS

.icon-socket {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M29%2030H3a1%201%200%200%201-1-1V3a1%201%200%200%201%201-1h26a1%201%200%200%201%201%201v26a1%201%200%200%201-1%201M4%2028h24V4H4zm12-2c-5.514%200-10-4.486-10-10S10.486%206%2016%206s10%204.486%2010%2010s-4.486%2010-10%2010m0-18c-4.411%200-8%203.589-8%208s3.589%208%208%208s8-3.589%208-8s-3.589-8-8-8m-2.5%208a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200m8%200a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M29%2030H3a1%201%200%200%201-1-1V3a1%201%200%200%201%201-1h26a1%201%200%200%201%201%201v26a1%201%200%200%201-1%201M4%2028h24V4H4zm12-2c-5.514%200-10-4.486-10-10S10.486%206%2016%206s10%204.486%2010%2010s-4.486%2010-10%2010m0-18c-4.411%200-8%203.589-8%208s3.589%208%208%208s8-3.589%208-8s-3.589-8-8-8m-2.5%208a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200m8%200a1.5%201.5%200%201%200-3%200a1.5%201.5%200%200%200%203%200%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/carbon/socket.svg?color=%231a73e8&size=48