iosswiftuisf-symbols

Find all available images for Image(systemName:)


Where can I find all the system images that are available in the initializer Image(systemName:)?

I've only been using "chevron" and "star.fill" so far, as discovered in Apple's SwiftUI tutorial series. However, I haven't been able to find a full list of icons in any official documentation.


Solution

  • These icons are called SF Symbols. There are over 3,300 symbols you can use in iOS 13 and later, macOS 11 and later, watchOS 6 and later, and tvOS 13 and later. You can use a symbol everywhere you can use an image.

    To browse the full set of symbols, download the SF Symbols app. For more info about SF Symbols check here.


    Usage

    UIKit:

    let heartImage = UIImage(systemName: "heart.fill")
    

    SwiftUI:

    let heartImage = Image(systemName: "heart.fill")