ICONYZ
English
Sock icon from Boxicons

Sock icon

boxicons:sock

The Sock icon (boxicons:sock) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
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" d="M19 2h-7c-.55 0-1 .45-1 1v7.59l-4.78 2.76c-2.15 1.24-2.89 4-1.65 6.15a4.5 4.5 0 0 0 3.9 2.25c.76 0 1.54-.19 2.24-.6l8.78-5.07c.31-.18.5-.51.5-.87V3c0-.55-.45-1-1-1Zm-1 2v2h-5V4zM9.72 19.41a2.497 2.497 0 0 1-2.5-4.32l5.28-3.05c.31-.18.5-.51.5-.87V8h5v6.63z"/></svg>

How to use the Sock icon

React

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

<Icon icon="boxicons:sock" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:sock" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:sock" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--sock]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:sock"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/sock.svg" alt="Sock icon" width="24" height="24">

Related icons in Boxicons

Sock icon in other icon sets

Sock icon FAQ

Is the Sock icon free for commercial use?

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

How do I use the Sock icon in React?

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

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

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

Browse all Boxicons →