Yarn
The yarn icon represents a type of thread or fiber used in textile production, sewing, knitting, or crafting.
Exports at 24 × 24 px
Code
Yarn in your framework
In any framework. Customize it above, and the code follows.
export const YarnIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 72 72" fill="none" stroke="currentColor" {...props}>
<circle cx="30.806" cy="34.822" r="22.224" fill="#f4aa41"/><path fill="#e27022" d="M43.294 15.825c-6.239 2.68-12.011 8.035-12.011 17.646s2.768 16.856 11.31 19.955c5.712-4.986 11.01-8.886 11.01-18.498S47.09 18.879 43.294 15.825"/><g fill="none" stroke="#000" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2"><circle cx="30.806" cy="34.822" r="22.224"/><path d="M43.92 17.016a22.12 22.12 0 0 1-13.114 4.28a22.12 22.12 0 0 1-13.123-4.287"/><path d="M46.735 19.66c-3.301 4.46-9.726 8.362-15.929 8.362a21.24 21.24 0 0 1-16.21-8.299"/><path d="M49.149 22.656c-2.825 6.486-10.514 12.093-18.343 12.093a21.24 21.24 0 0 1-18.463-11.688"/><path d="M51.23 26.425c-2.618 8.18-11.28 15.05-20.424 15.05a22.36 22.36 0 0 1-20.555-14.814"/><path d="M52.559 30.551a22.23 22.23 0 0 1-21.753 17.652A22.64 22.64 0 0 1 8.874 31.214m36.268 20.757c1.317.945 3.733 3.635 6.628 3.675s5.594-3.15 7.058-2.328c2.606 1.463 3.751 3.728 6.691 3.774"/><path d="M37.818 55.844a22.71 22.71 0 0 1-14.097-21.022a22.23 22.23 0 0 1 14.118-20.7"/><path d="M41.563 15.825a22.22 22.22 0 0 0-11.175 18.997A21.9 21.9 0 0 0 41.66 53.93"/><path d="M44.578 17.825a22.93 22.93 0 0 0-7.523 16.997c0 6.904 2.885 13.414 8.087 17.149"/></g>
</svg>
);Other libraries
Yarn in 8 more libraries
Each library draws it its own way. Open one to compare.
OpenMoji
More like it
Icons that share its tags, then the ones next to it in OpenMoji, in the same style.
Search OpenMoji
Skip the copy and paste. With Pro, your AI agent finds and installs any OpenMoji icon from a prompt.
Get ProTags
Browse by tag
Yarn is tagged crafting, textile and sewing. Related tags follow; each opens its icons from every library.
Pricing
OpenMoji MCP, with Pro
Ask for Yarn or any of 4,481 OpenMoji icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Yarn icon means and where it's used, then how to install, style, label and license it.
The yarn icon represents a type of thread or fiber used in textile production, sewing, knitting, or crafting. This icon is often used in contexts related to crafting, DIY projects, or textile arts.
The yarn icon can be found in crafting software, DIY platforms, or textile-related applications. For instance, it might be used on platforms like Pinterest, crafting communities, or online sewing forums to convey that a certain feature or functionality is related to yarn or textile arts.
From a UX perspective, the yarn icon communicates the idea of creating or working with yarn or textile materials. It helps users understand that a certain functionality or feature is related to crafting, sewing, or textile production.
Yarn is one of 4,481 icons in OpenMoji, made by OpenMoji and released under CC BY-SA 4.0. It is drawn on a 72 × 72 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds YarnIcon to components/icons/openmoji-yarn.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed YarnIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Yarn icon, or any of 4,481 OpenMoji icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 72 × 72 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Yarn", so screen readers say what it does.
Yes. YarnIcon passes every SVG prop to the svg element, so <YarnIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with conditions: CC BY-SA 4.0 asks you to credit the author (OpenMoji), and icons you change must use the same license. The full terms are in the license, linked on this page.
Yes. CC BY-SA 4.0 asks you to credit OpenMoji, and icons you change must be shared under the same license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
8 other libraries draw an icon called Yarn. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are crafting, textile and sewing. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Yarn in another set.
OpenMoji draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see Yarn's siblings in it.
4.9 out of 5 from 150+ developers
Install Yarn from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro