File Type Swc
The 'file-type-swc' icon represents a file type associated with SWC, the Speedy Web Compiler, a fast TypeScript and JavaScript compiler.
Exports at 24 × 24 px
Code
File Type Swc in your framework
In any framework. Customize it above, and the code follows.
export const FileTypeSwcIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<defs><linearGradient id="SVGQkDzwdrc" x1="0" x2="302.9" y1="151.49" y2="151.49" gradientTransform="matrix(.09245 0 0 .03238 1.997 11.096)" gradientUnits="userSpaceOnUse"><stop offset="0" stopColor="#ffa588"/><stop offset=".271" stopColor="#fcb371"/><stop offset=".836" stopColor="#f4d837"/><stop offset="1" stopColor="#f1e425"/></linearGradient></defs><path fill="url(#SVGQkDzwdrc)" d="M27.216 20.903a2.8 2.8 0 0 1-1.996-.828l-4.157-4.157a2.8 2.8 0 0 1-.791-1.509a2.8 2.8 0 0 1 .01-1.004h-1.23c-.3 0-.427.2-.476.318a.49.49 0 0 0 .113.562l1.797 1.797a2.8 2.8 0 0 1 .615 3.079a2.85 2.85 0 0 1-.983 1.234a2.8 2.8 0 0 1-1.624.508h-.058a2.8 2.8 0 0 1-1.996-.828l-.398-.398a2.8 2.8 0 0 1-.704.716a2.8 2.8 0 0 1-1.624.508a2.8 2.8 0 0 1-1.997-.828l-6.52-6.52a.5.5 0 0 0-.363-.15c-.3 0-.427.2-.476.317a.49.49 0 0 0 .112.563l1.797 1.797a2.81 2.81 0 0 1 .616 3.078a2.85 2.85 0 0 1-.984 1.235a2.8 2.8 0 0 1-1.624.507h-.822a1.154 1.154 0 1 1 0-2.307h.81c.3 0 .427-.2.476-.318a.49.49 0 0 0-.112-.562l-1.795-1.795a2.8 2.8 0 0 1-.79-1.508A2.85 2.85 0 0 1 3.2 11.606a2.8 2.8 0 0 1 1.627-.508c.753 0 1.463.294 1.996.828l6.52 6.52a.5.5 0 0 0 .363.15c.3 0 .428-.2.477-.318a.49.49 0 0 0-.11-.56l-4.651-4.65a1.154 1.154 0 1 1 1.633-1.633l4.648 4.648l.006.005l2.357 2.357a.5.5 0 0 0 .363.15h.058c.3 0 .427-.2.476-.317a.49.49 0 0 0-.113-.562l-1.794-1.798a2.8 2.8 0 0 1-.79-1.508a2.85 2.85 0 0 1 1.159-2.804a2.8 2.8 0 0 1 1.626-.508h4.7a1.154 1.154 0 1 1 0 2.308h-.693c-.3 0-.427.2-.476.317a.49.49 0 0 0 .113.563l4.157 4.157a.5.5 0 0 0 .364.15a.476.476 0 0 0 .476-.476a1.154 1.154 0 1 1 2.307 0a2.786 2.786 0 0 1-2.784 2.786z"/><path fill="#fff" d="M27.216 19.893c-.485 0-.94-.188-1.284-.53l-4.157-4.158a1.79 1.79 0 0 1-.392-1.976c.147-.352.386-.638.684-.831h-3.015c-.629 0-1.169.36-1.41.94a1.5 1.5 0 0 0 .33 1.662l1.798 1.797c.528.529.678 1.287.392 1.977a1.79 1.79 0 0 1-1.676 1.12h-.057c-.485 0-.94-.188-1.284-.532l-1.659-1.659c.075.35.04.719-.105 1.07a1.79 1.79 0 0 1-1.676 1.12c-.485 0-.94-.187-1.284-.53l-6.52-6.52a1.52 1.52 0 0 0-1.079-.448c-.629 0-1.168.36-1.41.94c-.24.58-.113 1.218.331 1.663l1.797 1.797c.529.528.678 1.286.393 1.976s-.93 1.12-1.676 1.12h-.808a.143.143 0 0 1-.145-.146a.143.143 0 0 1 .145-.145h.81c.63 0 1.169-.36 1.411-.94a1.5 1.5 0 0 0-.332-1.662L3.541 15.2a1.78 1.78 0 0 1-.392-1.973a1.78 1.78 0 0 1 1.676-1.123c.485 0 .94.188 1.284.531l6.52 6.52c.288.289.672.447 1.079.447c.628 0 1.168-.36 1.41-.94c.24-.58.115-1.215-.328-1.66l-4.653-4.648a.143.143 0 0 1 0-.205a.143.143 0 0 1 .205 0l4.648 4.647l.003.003l2.357 2.357c.289.289.672.447 1.079.447h.057c.63 0 1.169-.36 1.411-.94c.24-.58.113-1.218-.332-1.662l-1.797-1.797a1.79 1.79 0 0 1-.392-1.977c.285-.69.929-1.12 1.676-1.12h4.7a.143.143 0 0 1 .145.146a.143.143 0 0 1-.145.145h-.693c-.629 0-1.168.36-1.41.94c-.24.58-.113 1.218.331 1.662l4.157 4.157c.289.289.673.448 1.08.448c.819 0 1.485-.667 1.485-1.486a.143.143 0 0 1 .145-.145a.143.143 0 0 1 .145.145a1.773 1.773 0 0 1-1.774 1.774z"/>
</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 Swc is tagged development, programming, javascript and 2 more. Related tags follow; each opens its icons from every library.
Pricing
VSCode Icons MCP, with Pro
Ask for File Type Swc 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 Swc icon means and where it's used, then how to install, style, label and license it.
The 'file-type-swc' icon represents a file type associated with SWC, the Speedy Web Compiler, a fast TypeScript and JavaScript compiler. SWC is used for compiling and optimizing JavaScript code. The icon signifies SWC configuration or output files.
In real-world applications, this icon appears in development environments, code editors, and web development tools where SWC is used. For example, in Visual Studio Code, Webpack, and GitHub, the '.swc' file type icon helps users quickly identify SWC-related files.
From a UX perspective, the 'file-type-swc' icon communicates that a file is a compiled or optimized JavaScript file, helping users understand its format and functionality. This icon aids in navigation and file management within web development environments.
File Type Swc 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 FileTypeSwcIcon to components/icons/vscode-icons-file-type-swc.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 FileTypeSwcIcon 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 Swc 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 Swc", so screen readers say what it does.
Yes. FileTypeSwcIcon passes every SVG prop to the svg element, so <FileTypeSwcIcon 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, programming, javascript, file type and compiler. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Type Swc 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 Swc's siblings in it.
4.9 out of 5 from 150+ developers
Install File Type Swc from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro