Swift
The swift icon represents the Swift programming language, developed by Apple.
Exports at 24 × 24 px
Code
Swift in your framework
In any framework. Customize it above, and the code follows.
export const SwiftIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 256 256" {...props}>
<linearGradient id="SVGu0B1TqaV" x1="-1845.501" x2="-1797.134" y1="1255.639" y2="981.338" gradientTransform="rotate(180 -846.605 623.252)" gradientUnits="userSpaceOnUse"><stop offset="0" stopColor="#FAAE42"/><stop offset="1" stopColor="#EF3E31"/></linearGradient><path fill="url(#SVGu0B1TqaV)" d="M56.9 0h141.8c6.9 0 13.6 1.1 20.1 3.4c9.4 3.4 17.9 9.4 24.3 17.2c6.5 7.8 10.8 17.4 12.3 27.4c.6 3.7.7 7.4.7 11.1v138.3c0 4.4-.2 8.9-1.1 13.2c-2 9.9-6.7 19.2-13.5 26.7c-6.7 7.5-15.5 13.1-25 16.1c-5.8 1.8-11.8 2.6-17.9 2.6c-2.7 0-142.1 0-144.2-.1c-10.2-.5-20.3-3.8-28.8-9.5c-8.3-5.6-15.1-13.4-19.5-22.4c-3.8-7.7-5.7-16.3-5.7-24.9V56.9C.2 48.4 2 40 5.7 32.4c4.3-9 11-16.9 19.3-22.5C33.5 4.1 43.5.7 53.7.2c1-.2 2.1-.2 3.2-.2"/><linearGradient id="SVGoT4spcIz" x1="130.612" x2="95.213" y1="4.136" y2="204.893" gradientUnits="userSpaceOnUse"><stop offset="0" stopColor="#E39F3A"/><stop offset="1" stopColor="#D33929"/></linearGradient><path fill="url(#SVGoT4spcIz)" d="M216 209.4c-.9-1.4-1.9-2.8-3-4.1c-2.5-3-5.4-5.6-8.6-7.8c-4-2.7-8.7-4.4-13.5-4.6c-3.4-.2-6.8.4-10 1.6c-3.2 1.1-6.3 2.7-9.3 4.3c-3.5 1.8-7 3.6-10.7 5.1c-4.4 1.8-9 3.2-13.7 4.2c-5.9 1.1-11.9 1.5-17.8 1.4c-10.7-.2-21.4-1.8-31.6-4.8c-9-2.7-17.6-6.4-25.7-11.1c-7.1-4.1-13.7-8.8-19.9-14.1c-5.1-4.4-9.8-9.1-14.2-14.1c-3-3.5-5.9-7.2-8.6-11c-1.1-1.5-2.1-3.1-3-4.7L0 121.2V56.7C0 25.4 25.3 0 56.6 0h50.5l37.4 38c84.4 57.4 57.1 120.7 57.1 120.7s24 27 14.4 50.7"/><path fill="#FFF" d="M144.7 38c84.4 57.4 57.1 120.7 57.1 120.7s24 27.1 14.3 50.8c0 0-9.9-16.6-26.5-16.6c-16 0-25.4 16.6-57.6 16.6c-71.7 0-105.6-59.9-105.6-59.9C91 192.1 135.1 162 135.1 162c-29.1-16.9-91-97.7-91-97.7c53.9 45.9 77.2 58 77.2 58c-13.9-11.5-52.9-67.7-52.9-67.7c31.2 31.6 93.2 75.7 93.2 75.7C179.2 81.5 144.7 38 144.7 38"/>
</svg>
);Other libraries
Swift in 8 more libraries
Each library draws it its own way. Open one to compare.
SVG Logos
More like it
Icons that share its tags, in the same style.
Search SVG Logos
Skip the copy and paste. With Pro, your AI agent finds and installs any SVG Logos icon from a prompt.
Get ProTags
Browse by tag
Swift is tagged development, programming, language and 2 more. Related tags follow; each opens its icons from every library.
Pricing
SVG Logos MCP, with Pro
Ask for Swift or any of 2,063 SVG Logos 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 Swift icon means and where it's used, then how to install, style, label and license it.
The swift icon represents the Swift programming language, developed by Apple. Swift is widely used for developing iOS, macOS, watchOS, and tvOS applications. It provides a modern and efficient way to create software for Apple devices.
In real-world applications, the swift icon appears in software and platforms like Xcode, Apple Developer, and Swift Playgrounds. It is commonly used for developing and testing Apple applications.
From a UX perspective, the swift icon communicates a sense of modernity and efficiency, allowing users to understand that the language is designed for fast and reliable performance. It helps users navigate interfaces and understand the functionality of various development tools.
Swift is one of 2,063 icons in SVG Logos, made by Gil Barbara and released under CC0. It is drawn on a 256 × 256 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 SwiftIcon to components/icons/logos-swift.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 SwiftIcon 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 Swift icon, or any of 2,063 SVG Logos 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 256 × 256 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="Swift", so screen readers say what it does.
Yes. SwiftIcon passes every SVG prop to the svg element, so <SwiftIcon 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.
CC0 puts the icons in the public domain: use them anywhere, with no conditions. The full terms are in the license, linked on this page.
No. CC0 gives the icons to the public domain, so no credit and no notice is required. Icons installed with the shadcn CLI still start with a comment naming SVG Logos, Gil Barbara and the 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 Swift. 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, programming, language, apple and iOS. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Swift in another set.
4.9 out of 5 from 150+ developers
Install Swift from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro