Search code examples
swiftuisf-symbols

How do I set the size of a SF Symbol in SwiftUI?


How do I set the size of a SF Symbol in Xcode 11 using SwiftUI?


Solution

  • SF Symbols are similar to fonts, thus:

    .font(.system(size: 60))