ICONYZ
English
Yarn icon from File Icons

Yarn icon

file-icons:yarn

The Yarn icon (file-icons:yarn) is a free SVG icon from the File Icons set by John Gardner. It is drawn on a 477 × 512 grid. File Icons are released under the ISC 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
File Icons
Author
John Gardner
License
ISC
Size
477 × 512
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="477" height="512" viewBox="0 0 477 512"><path fill="currentColor" d="M201.875 54.078S223.312-11.056 243.1 1.641c6.101 3.958 28.032 52.767 28.032 52.767s23.416-13.686 26.054-8.575c30.535 93.073 2.41 158.697-37.926 211.067c53.649 50.098 62.982 101.431 52.602 166.38c50.47.108 76.45-49.081 140.82-52.107c28.857-.495 30.341 33.309 8.575 38.585c-44.75 6.317-88.88 56.237-179.077 81.624c-11.635 17.708-81.148 15.728-135.874 20.612c-57.902.615-42.944-44.48-22.096-52.107c-13.596-7.408-14.15-14.796-16.819-14.016c-14.48 77.126-53.98 53.626-78.16 46.995c-18.634-9.894 1.319-33.144 1.319-33.144c-18.14 7.776-32.457-26.504-30.341-60.187c1.979-26.878 31.99-52.932 31.99-52.932c-1.789-67.104 17.813-110.758 69.915-147.417C83.91 177.75 62.91 143.25 90.606 103.06C126.66 93 133.66 50.25 201.876 54.078"/></svg>

How to use the Yarn icon

React

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

<Icon icon="file-icons:yarn" width="24" />

Vue

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

<template>
  <Icon icon="file-icons:yarn" width="24" />
</template>

Svelte

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

<Icon icon="file-icons:yarn" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="file-icons:yarn"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/file-icons/yarn.svg" alt="Yarn icon" width="24" height="24">

Yarn icon in other icon sets

Yarn icon FAQ

Is the Yarn icon free for commercial use?

Yes. File Icons are released under the ISC 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="file-icons: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/file-icons/yarn.svg" alt="Yarn icon">, or paste the SVG code inline to style it with CSS.

Browse all File Icons →