Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

Devicons · DiSwift

Swift icon

A free swift icon from Devicons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
MIT license
Project
vorillaz.github.io
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/devicons/swift.json
components/icons/devicons-swift.tsx
import * as React from "react";

/**
 * Swift from Devicons (https://vorillaz.github.io/devicons/), MIT.
 * Via Cuelark UI: ui.cuelark.com/icons/devicons/swift. Sized in em, colored by currentColor.
 */
export function DiSwiftIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      version="1.1"
      viewBox="0 0 32 32"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M18.785 6.188c0 0 5.026 2.991 6.341 7.75 1.186 4.293 0.235 6.341 0.235 6.341s0.707 0.683 1.409 2.348c1.049 2.489 0.235 3.757 0.235 3.757s-0.077-1.75-2.583-2.113c-2.296-0.333-3.132 1.991-7.515 1.879-2.524-0.065-7.783-0.688-12.212-7.045 2.149 1.223 4.957 3.105 8.454 2.818s4.227-1.409 4.227-1.409-6.698-5.44-10.333-11.272c2.742 2.401 9.552 7.166 9.393 7.045-2.078-1.595-6.81-8.219-6.81-8.219s10.216 8.737 11.037 8.689c0.338-0.725 2.085-4.476-1.879-10.568z"
      />
    </svg>
  );
}
With react-icons
import { DiSwift } from "react-icons/di";

export function Example() {
  return <DiSwift className="size-5" />;
}
swift.svg
<svg
  version="1.1"
  viewBox="0 0 32 32"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M18.785 6.188c0 0 5.026 2.991 6.341 7.75 1.186 4.293 0.235 6.341 0.235 6.341s0.707 0.683 1.409 2.348c1.049 2.489 0.235 3.757 0.235 3.757s-0.077-1.75-2.583-2.113c-2.296-0.333-3.132 1.991-7.515 1.879-2.524-0.065-7.783-0.688-12.212-7.045 2.149 1.223 4.957 3.105 8.454 2.818s4.227-1.409 4.227-1.409-6.698-5.44-10.333-11.272c2.742 2.401 9.552 7.166 9.393 7.045-2.078-1.595-6.81-8.219-6.81-8.219s10.216 8.737 11.037 8.689c0.338-0.725 2.085-4.476-1.879-10.568z"
  />
</svg>
Attribution
"Swift" icon from Devicons (https://vorillaz.github.io/devicons/), licensed under MIT license.

Swift icon in other sets