File Type Yarn
The Yarn file type icon represents a JavaScript package manager file.
Exports at 24 × 24 px
Code
File Type Yarn in your framework
In any framework. Customize it above, and the code follows.
export const FileTypeYarnIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="#2188b6" d="M28.208 24.409a10.5 10.5 0 0 0-3.959 1.822a23.7 23.7 0 0 1-5.835 2.642a1.63 1.63 0 0 1-.983.55a62 62 0 0 1-6.447.577c-1.163.009-1.876-.3-2.074-.776a1.573 1.573 0 0 1 .866-2.074a4 4 0 0 1-.514-.379c-.171-.171-.352-.514-.406-.388c-.225.55-.343 1.894-.947 2.5c-.83.839-2.4.559-3.328.072c-1.019-.541.072-1.813.072-1.813a.73.73 0 0 1-.992-.343a4.85 4.85 0 0 1-.667-2.949a5.37 5.37 0 0 1 1.749-2.895a9.3 9.3 0 0 1 .658-4.4a10.45 10.45 0 0 1 3.165-3.661S6.628 10.747 7.35 8.817c.469-1.262.658-1.253.812-1.308a3.6 3.6 0 0 0 1.452-.857a5.27 5.27 0 0 1 4.41-1.7S15.2 1.4 16.277 2.09a18.4 18.4 0 0 1 1.533 2.886s1.281-.748 1.425-.469a11.33 11.33 0 0 1 .523 6.132a14 14 0 0 1-2.6 5.411c-.135.225 1.551.938 2.615 3.887c.983 2.7.108 4.96.262 5.212c.027.045.036.063.036.063s1.127.09 3.391-1.308a8.5 8.5 0 0 1 4.277-1.604a1.081 1.081 0 0 1 .469 2.11Z"/>
</svg>
);VSCode Icons
More like it
Icons that share its tags, in the same style.
Search VSCode Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any VSCode Icons icon from a prompt.
Get ProTags
Browse by tag
File Type Yarn is tagged development, react, javascript and 3 more. Related tags follow; each opens its icons from every library.
Pricing
VSCode Icons MCP, with Pro
Ask for File Type Yarn or any of 1,426 VSCode Icons 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 File Type Yarn icon means and where it's used, then how to install, style, label and license it.
The Yarn file type icon represents a JavaScript package manager file. Yarn is a popular package manager used for installing and managing dependencies in JavaScript projects. It was created by Facebook and is widely used in the development community.
The Yarn icon is commonly used in software development tools and platforms, such as Visual Studio Code, to indicate a Yarn file or project. It can also be used in documentation and tutorials to represent Yarn-related content.
From a UX perspective, the Yarn icon helps users quickly identify and distinguish Yarn files and projects from other types of files and projects. This can improve navigation and workflow efficiency.
File Type Yarn is one of 1,426 icons in VSCode Icons, made by Roberto Huertas and released under MIT. It is drawn on a 32 × 32 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 FileTypeYarnIcon to components/icons/vscode-icons-file-type-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 FileTypeYarnIcon 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 File Type Yarn icon, or any of 1,426 VSCode Icons 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 32 × 32 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="File Type Yarn", so screen readers say what it does.
Yes. FileTypeYarnIcon passes every SVG prop to the svg element, so <FileTypeYarnIcon 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. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming VSCode Icons, Roberto Huertas and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are development, react, javascript, script, nodejs and package manager. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Type Yarn in another set.
VSCode Icons draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see File Type Yarn's siblings in it.
4.9 out of 5 from 150+ developers
Install File Type Yarn from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro