ICONYZ
English
Socks icon from Huge Icons

Socks icon

hugeicons:socks

The Socks icon (hugeicons:socks) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
Huge Icons
Author
Hugeicons
License
MIT
Size
24 × 24
Tags
sock
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M13.5 6V5c0-.943 0-1.414.293-1.707S14.557 3 15.5 3h3c.943 0 1.414 0 1.707.293S20.5 4.057 20.5 5v1zm7 0v7.34a4 4 0 0 1-1.176 2.832l-3.808 3.796a3.526 3.526 0 0 1-4.984 0a3.52 3.52 0 0 1 0-4.98L13.5 12V6m-3 0h-3V5c0-.943 0-1.414.293-1.707S8.557 3 9.5 3h1m-3 3v6l-2.968 2.988a3.52 3.52 0 0 0 0 4.98a3.52 3.52 0 0 0 2.968 1M11 14.5l5 5m-11-5l2 2"/><path d="M20.5 12a3 3 0 0 0-2.236 5"/></g></svg>

How to use the Socks icon

React

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

<Icon icon="hugeicons:socks" width="24" />

Vue

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

<template>
  <Icon icon="hugeicons:socks" width="24" />
</template>

Svelte

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

<Icon icon="hugeicons:socks" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="hugeicons:socks"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/hugeicons/socks.svg" alt="Socks icon" width="24" height="24">

Socks icon in other icon sets

Socks icon FAQ

Is the Socks icon free for commercial use?

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

How do I use the Socks icon in React?

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

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

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

Browse all Huge Icons →