Yarn
The Yarn icon represents Yarn, a popular package manager for JavaScript and software development.
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 640 640" {...props}>
<path fill="currentColor" d="M465.9 409.2c-39 9.3-48.4 32.1-104 47.4c0 0-2.7 4-10.4 5.8c-13.4 3.3-63.9 6-68.5 6.1c-12.4.1-19.9-3.2-22-8.2c-6.4-15.3 9.2-22 9.2-22c-8.1-5-9-9.9-9.8-8.1c-2.4 5.8-3.6 20.1-10.1 26.5c-8.8 8.9-25.5 5.9-35.3.8c-10.8-5.7.8-19.2.8-19.2s-5.8 3.4-10.5-3.6c-6-9.3-17.1-37.3 11.5-62c-1.3-10.1-4.6-53.7 40.6-85.6c0 0-20.6-22.8-12.9-43.3c5-13.4 7-13.3 8.6-13.9c5.7-2.2 11.3-4.6 15.4-9.1c20.6-22.2 46.8-18 46.8-18s12.4-37.8 23.9-30.4c3.5 2.3 16.3 30.6 16.3 30.6s13.6-7.9 15.1-5c8.2 16 9.2 46.5 5.6 65.1c-6.1 30.6-21.4 47.1-27.6 57.5c-1.4 2.4 16.5 10 27.8 41.3c10.4 28.6 1.1 52.7 2.8 55.3c.8 1.4 13.7.8 36.4-13.2c12.8-7.9 28.1-16.9 45.4-17c16.7-.5 17.6 19.2 4.9 22.2M72 320C72 183 183 72 320 72s248 111 248 248s-111 248-248 248S72 457 72 320m416.7 75.2c-1.7-13.6-13.2-23-28-22.8c-22 .3-40.5 11.7-52.8 19.2c-4.8 3-8.9 5.2-12.4 6.8c3.1-44.5-22.5-73.1-28.7-79.4c7.8-11.3 18.4-27.8 23.4-53.2c4.3-21.7 3-55.5-6.9-74.5c-1.6-3.1-7.4-11.2-21-7.4c-9.7-20-13-22.1-15.6-23.8c-1.1-.7-23.6-16.4-41.4 28c-12.2.9-31.3 5.3-47.5 22.8c-2 2.2-5.9 3.8-10.1 5.4h.1c-8.4 3-12.3 9.9-16.9 22.3c-6.5 17.4.2 34.6 6.8 45.7c-17.8 15.9-37 39.8-35.7 82.5c-34 36-11.8 73-5.6 79.6c-1.6 11.1 3.7 19.4 12 23.8c12.6 6.7 30.3 9.6 43.9 2.8c4.9 5.2 13.8 10.1 30 10.1c6.8 0 58-2.9 72.6-6.5c6.8-1.6 11.5-4.5 14.6-7.1c9.8-3.1 36.8-12.3 62.2-28.7c18-11.7 24.2-14.2 37.6-17.4c12.9-3.2 21-15.1 19.4-28.2"/>
</svg>
);Other libraries
Yarn in 8 more libraries
Each library draws it its own way. Open one to compare.
Font Awesome Brands
More like it
Icons that share its tags, in the same style.
Search Font Awesome Brands
Skip the copy and paste. With Pro, your AI agent finds and installs any Font Awesome Brands icon from a prompt.
Get ProTags
Browse by tag
Yarn is tagged development, software, tech and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Font Awesome Brands MCP, with Pro
Ask for Yarn or any of 548 Font Awesome Brands 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 Yarn, a popular package manager for JavaScript and software development.
Yarn is widely used in software development for managing dependencies and packages. The icon is often used in software and platforms related to JavaScript development, package management, and tech.
From a UX perspective, the Yarn icon communicates a sense of package management and dependency resolution. It helps users understand that a particular functionality or service is related to managing software dependencies.
Yarn is one of 548 icons in Font Awesome Brands, made by Dave Gandy and released under CC BY 4.0. It is drawn on a 640 × 640 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/fa7-brands-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 548 Font Awesome Brands icons, and install it from a prompt.
It's drawn in currentColor, so it takes the text color wherever you use it: a class like text-primary recolors it. To bake a color in, set one in Customize before you copy.
Set width and height on the component, or a class like size-6. It's drawn on a 640 × 640 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It follows the text color, so with text-foreground (or any theme token) it changes with your light and dark themes. 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 credit: CC BY 4.0 asks you to credit the author (Dave Gandy) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Dave Gandy, CC BY 4.0" on an about or credits page.
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 development, software, tech, javascript, package and manager. 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.
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