Yarn icon
ph:yarn
The Yarn icon (ph:yarn) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
- Phosphor
- Author
- Phosphor Icons
- License
- MIT
- Size
- 256 × 256
- Tags
- knitting, sewing
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M232 216h-48.61A103.95 103.95 0 1 0 128 232h104a8 8 0 1 0 0-16M128 40a87.5 87.5 0 0 1 43.93 11.77a222 222 0 0 0-27.88 15.09a222.2 222.2 0 0 0-45-22A87.5 87.5 0 0 1 128 40M78.56 55.24a206 206 0 0 1 51.11 21.57a226 226 0 0 0-19.57 16.55a181.5 181.5 0 0 0-52.37-18.27a88.7 88.7 0 0 1 20.83-19.85M48.72 89.82a165.8 165.8 0 0 1 49.67 15.51a228 228 0 0 0-15.63 19.17A142.7 142.7 0 0 0 41.28 113a87.5 87.5 0 0 1 7.44-23.18M40 129a126 126 0 0 1 33.63 9a222.4 222.4 0 0 0-19.07 38.45A87.5 87.5 0 0 1 40 129m26.42 61.81A209.36 209.36 0 0 1 187 62.74a89 89 0 0 1 16.22 19.57A183.89 183.89 0 0 0 87 205.82a88.6 88.6 0 0 1-20.57-15.01ZM125.66 216a87.7 87.7 0 0 1-23.83-4A167.84 167.84 0 0 1 210.28 96.79a87.4 87.4 0 0 1 5.38 23.55a144.59 144.59 0 0 0-90 95.66m89.82-78.44a88.19 88.19 0 0 1-72.67 77.22a128.64 128.64 0 0 1 72.67-77.25Z"/></svg>How to use the Yarn icon
React
import { Icon } from "@iconify/react";
<Icon icon="ph:yarn" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ph:yarn" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ph:yarn" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ph--yarn]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ph -->
<div class="i-ph:yarn"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ph:yarn"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ph/yarn.svg" alt="Yarn icon" width="24" height="24">Related icons in Phosphor
Yarn icon in other icon sets
Yarn icon FAQ
Is the Yarn icon free for commercial use?
Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Yarn icon in React?
Install @iconify/react and render <Icon icon="ph:yarn" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Yarn icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/yarn.svg" alt="Yarn icon">, or paste the SVG code inline to style it with CSS.