Swiftpack.co - Nirma/SFSymbol as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
All the SFSymbols (1.1 & 2.0) at your fingertips
.package(url: "https://github.com/Nirma/SFSymbol.git", from: "1.1.0")

SFSymbol: SFSymbol and SFSymbol 2

Build Status Swift 5.3 Swift Package Manager compatible CocoaPods compatible Carthage compatible License

All the SFSymbols at your fingertips (SFSymbol 1.1 & 2)


SFSymbol and SFSymbol2 are an enums that contain the identifier strings of all of apple's SFSymbol and SFSymbol2.

For example SFSymbol.playCircle produces the String "play.circle" that can then be used to instantiate a system symbol via:


    UIImage(symbol: .playCircle)



    Image(symbol: .playCircle)


SFSymbols (1.1 and 2) is a real treat from apple, Apple's official list of Symbols that are available to use free of charge when writing software on any of Apple's recent platforms. There is one downfall however, it is a pain in the neck to look up exact symbol names, take for example:


That is a long string to remember and digging through the catalog of SF Symbols to find in would be quite a waste of time.

Wouldn't it be easier if you could just use code completion?

Thats what this super micro library aims to do.


Swift Package Manager (Preferred)

Since Xcode integrated swift package manager natively into the IDE you can add SFSymbol simply by:

File-> Swift Packages -> Add Package Dependency...

when prompted to enter a package URL paste:


and click next & finish to automagically install SFSymbol through Xcode & SPM!


Don't want that additional third party dependency? Then just simply copy over the file SFSymbol.swift into your project's appropriate folder!


Just add this line to your podfile:

pod 'SFSymbol'


github "Nirma/SFSymbol"

Contributing to this project

Contributions are highly welcome

If there is something you wish to fix about the project, or wish to add any other kind of enhancements, propose to add to the project. Please feel free to send over a pull request or open an issue for this project.


SFSymbol is released under the MIT license. See LICENSE for details.


Stars: 157
Last commit: 4 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

Love for `NSImage`
5 weeks ago


A big thanks to @vincentneo for working on the changes in this release.

  • NSImage convenience initilizers
  • Version checks for macOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics