Use FontAwesome 5 in your SwiftUI at ease.

  • [x] FontAwesome 5 free versions
  • [x] Type safe icon enums
  • [x] Support 3 styles: regular, brand, solid
  • [x] Support iOS, macOS, tvOS, watchOS


For iOS, to register fonts programmatically instead of declaring in Info.plist, you can use below register method.


For macOS, you only need to declare fonts path, copy below to Info.plist


To find which icon name is for which style, consult website

    .font(.awesome(style: .brand, size: 20))


FontAwesomeSwiftUI is available through Swift Package Manager.

Add FontAwesomeSwiftUI as a dependency to your Package.swift

.package(url: "", from: "1.0.4")

FontAwesomeSwiftUI can also be installed manually. Just download and drop Sources folders in your project.

The Original Article can be found on

#swift #ui #mobile-apps #programming #developer

Use FontAwesome 5 with SwiftUI
11.20 GEEK