ICONYZ
English
Socket icon from Griddy Icons

Socket icon

griddy-icons:socket

The Socket icon (griddy-icons:socket) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M5.75 3A2.75 2.75 0 0 0 3 5.75v12.5A2.75 2.75 0 0 0 5.75 21h12.5A2.75 2.75 0 0 0 21 18.25V5.75A2.75 2.75 0 0 0 18.25 3zM4.5 5.75c0-.69.56-1.25 1.25-1.25h12.5c.69 0 1.25.56 1.25 1.25v12.5c0 .69-.56 1.25-1.25 1.25H5.75c-.69 0-1.25-.56-1.25-1.25zm3 6.25a4.5 4.5 0 1 1 9 0a4.5 4.5 0 0 1-9 0M12 6a6 6 0 1 0 0 12a6 6 0 0 0 0-12m-2 7a1 1 0 1 0 0-2a1 1 0 0 0 0 2m5-1a1 1 0 1 1-2 0a1 1 0 0 1 2 0" clip-rule="evenodd"/></svg>

How to use the Socket icon

React

import { Icon } from "@iconify/react";

<Icon icon="griddy-icons:socket" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="griddy-icons:socket" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="griddy-icons:socket" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--socket]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/griddy-icons -->
<div class="i-griddy-icons:socket"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="griddy-icons:socket"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/socket.svg" alt="Socket icon" width="24" height="24">

Related icons in Griddy Icons

Socket icon in other icon sets

Socket icon FAQ

Is the Socket icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Socket icon in React?

Install @iconify/react and render <Icon icon="griddy-icons:socket" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Socket icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/griddy-icons/socket.svg" alt="Socket icon">, or paste the SVG code inline to style it with CSS.

Browse all Griddy Icons →