Pocket How
Design and HIG

SF Symbols guide for developers: rendering modes, effects and custom symbols

iOS 17+, iPadOS 17+ (iOS 18 and 26 features gated). Beginner. By Cihat Salik, .

Short answer

Use Image(systemName:) with a text style so the symbol scales with Dynamic Type, pick a rendering mode on purpose, and animate with symbolEffect only when it explains a change. Draw, Variable Draw and gradients need iOS 26; Magic Replace, Wiggle and Breathe need iOS 18. Check each symbol's minimum OS in the SF Symbols app before you ship it.

The problem

SF Symbols looks like a free icon set, so most apps use it as one: pick a name, drop it in an Image, done. That works until a symbol shows up blank on an older OS, a tab bar icon looks too thin next to its label, a custom icon breaks at the Bold Text setting, or a settings screen bounces every glyph on every tap. The library is more than pictures. Each symbol carries weights, scales, layers, localized variants, animation data and a minimum OS. Using those on purpose is the difference between an app that looks native and one that looks assembled.

Apple’s SF Symbols page now lists more than 7,000 symbols in nine weights and three scales, with four rendering modes and localized designs for over 20 scripts. The SF Symbols 7 app came with iOS 26 and added Draw animations, Variable Draw and gradients. SF Symbols 8 shipped with the 27 releases, and Apple’s WWDC26 design guide describes it as more symbols on top of the SF Symbols 7 feature set rather than new rendering features. The app requires macOS Sonoma or later.

Step 1: size symbols with text, not frames

A symbol is designed to sit next to San Francisco text. Its weight and size come from the font, and it aligns to the text baseline. So the first rule is to size symbols with a font, not with resizable() and a frame.

Label("Downloads", systemImage: "arrow.down.circle")
    .font(.headline)

Image(systemName: "bell")
    .font(.title2)
    .imageScale(.large)

imageScale(_:) (iOS 13) picks the small, medium or large scale, which changes the symbol’s size relative to the text without changing the weight. Use fontWeight(_:) if a symbol should be heavier than the text around it. When you size with a font, the symbol follows Dynamic Type for free, and it gets heavier when people turn on Bold Text.

Reach for resizable() only for large decorative symbols, such as an empty-state illustration, and even then a big font such as .system(size: 64) keeps the stroke weight consistent with the rest of the system.

Variants matter too. symbolVariant(.fill) (iOS 15) switches a whole subtree to filled variants. Apple’s HIG suggests outline symbols in toolbars and lists next to text, and filled symbols where emphasis or selection matters, such as tab bars and swipe actions. SwiftUI’s TabView already picks the right variant for you, so don’t force .fill names in tab items.

Step 2: choose a rendering mode on purpose

There are four rendering modes, set with symbolRenderingMode(_:) (iOS 15):

  • Monochrome is the default. Every layer gets the foreground style.
  • Hierarchical uses one colour at different opacities per layer. It adds depth without adding colours, and it is the safest choice for anything tinted.
  • Palette gives each layer its own colour. Pass two or three styles to foregroundStyle.
  • Multicolor uses the colours baked into the symbol, like a red trash can or a green battery.
HStack(spacing: 20) {
    Image(systemName: "externaldrive.badge.icloud")
        .symbolRenderingMode(.hierarchical)
        .foregroundStyle(.tint)

    Image(systemName: "person.crop.circle.badge.checkmark")
        .symbolRenderingMode(.palette)
        .foregroundStyle(.green, .secondary)

    Image(systemName: "battery.75percent")
        .symbolRenderingMode(.multicolor)
}
.font(.largeTitle)

Not every symbol supports every mode. Antoine van der Lee points out that the SF Symbols app shows which modes each symbol supports, and a symbol without palette layers simply renders monochrome. Check there before you design around a look.

On iOS 26 you can add a gradient on top of any mode with symbolColorRenderingMode(.gradient). The system builds a linear gradient from a single colour. Apple’s WWDC25 session notes the effect shows best at large sizes, so keep it for hero symbols and empty states, not row icons.

Step 3: show values with variable symbols

Some symbols take a value between 0 and 1 and light up layers to match: Wi-Fi strength, speaker volume, a progress bar chart. Image(systemName:variableValue:) (iOS 16) passes that value in.

struct SignalView: View {
    let strength: Double

    var body: some View {
        Image(systemName: "wifi", variableValue: strength)
            .font(.title)
            .accessibilityLabel("Signal")
            .accessibilityValue(strength.formatted(.percent))
    }
}

By default that uses Variable Color, which turns layers on or off by opacity. iOS 26 adds Variable Draw, which draws each variable layer to a length that matches the value, closer to a real progress indicator. You pick it with symbolVariableValueMode(.draw). A symbol supports one or the other at render time, and only symbols annotated for Draw can use the draw mode.

struct DownloadProgress: View {
    let fraction: Double

    var body: some View {
        if #available(iOS 26, *) {
            Image(systemName: "arrow.down.circle.dotted", variableValue: fraction)
                .symbolVariableValueMode(.draw)
        } else {
            Image(systemName: "arrow.down.circle.dotted", variableValue: fraction)
        }
    }
}

The HIG has a clear rule here: use variable colour to show change, not to suggest depth. If a value isn’t meaningful, use hierarchical rendering instead. And always pair the visual value with an accessibility value, because VoiceOver can’t read layer opacity.

Step 4: animate with symbol effects, sparingly

Symbol effects arrived in iOS 17 with symbolEffect and a set of effect types in the Symbols framework. There are four kinds, and knowing which kind an effect is tells you which modifier to use:

  • Discrete effects play once when a value changes: bounce, plus wiggle and rotate from iOS 18. Use symbolEffect(_:options:value:).
  • Indefinite effects run while a flag is true: pulse, variableColor, scale, breathe (iOS 18). Use symbolEffect(_:options:isActive:).
  • Transition effects animate a symbol in or out: appear, disappear, and on iOS 26 drawOn and drawOff.
  • Content transitions animate one symbol becoming another: replace, applied with contentTransition(.symbolEffect(.replace)).
struct NotificationToggle: View {
    @State private var isMuted = false
    @State private var pokes = 0

    var body: some View {
        Button {
            withAnimation { isMuted.toggle() }
            pokes += 1
        } label: {
            Image(systemName: isMuted ? "bell.slash" : "bell")
                .contentTransition(.symbolEffect(.replace))
                .symbolEffect(.bounce, value: pokes)
        }
        .font(.title)
        .accessibilityLabel(isMuted ? "Unmute notifications" : "Mute notifications")
    }
}

Natalia Panferova shows that iOS 18 upgrades replace to Magic Replace automatically for related symbols, so the slash draws across the bell instead of the whole glyph swapping. If you want to be explicit, .replace.magic(fallback: .replace) asks for Magic Replace and names the fallback for unrelated pairs. iOS 26 goes further: when the symbols support Draw, Magic Replace uses Draw Off for the outgoing symbol and Draw On for the incoming one.

Draw On and Draw Off are the headline animations of SF Symbols 7. The Create with Swift walkthrough drives them with isActive and a @State flag, and lists the three playback options: .byLayer (the default, staggered), .wholeSymbol and .individually.

struct SavedBadge: View {
    @State private var isHidden = true

    var body: some View {
        Group {
            if #available(iOS 26, *) {
                Image(systemName: "checkmark.circle")
                    .symbolEffect(.drawOff.wholeSymbol, isActive: isHidden)
            } else {
                Image(systemName: "checkmark.circle")
                    .opacity(isHidden ? 0 : 1)
            }
        }
        .font(.largeTitle)
        .task { isHidden = false }
    }
}

Apple’s guidance on when to use which is useful: Draw On when a symbol first appears at a moment that matters, Whole Symbol for quick feedback, Individually when each stroke should be noticed, Magic Replace for related states. The HIG adds the rule most apps break: apply animations judiciously and make sure each one communicates something. A bouncing gear on a settings row communicates nothing.

One practical note: effects set on a container apply to every symbol inside it, and repeating ones can keep running longer than you meant. Antoine van der Lee recommends symbolEffectsRemoved() (iOS 17) on views where inherited effects shouldn’t apply. Test every animated screen with Reduce Motion on as well.

Step 5: custom symbols

When no system symbol fits, make a custom one in the SF Symbols app rather than dropping an SVG into the asset catalog as a plain image. A real custom symbol gets weights, scales, rendering modes, Dynamic Type alignment and animation.

The workflow:

  1. Find the closest system symbol and choose Duplicate as Custom Symbol. Starting from a real symbol keeps the stroke weights and optical size right.
  2. Export the template, edit it in your vector tool, and import it back. Annotate layers so hierarchical, palette and variable rendering know which paths are which.
  3. For Draw animations, add guide points. Apple’s WWDC25 session explains that you annotate the Regular weight with at least a start and end point per path, and that Ultralight and Black are interpolated, so keep the points in the same order across weights. Arrowheads must be separate paths attached to a guide point.
  4. Export and drag the file into your asset catalog. Load it with Image("name"), or Image(_:variableValue:bundle:) (iOS 16) for a variable custom symbol.

Antoine van der Lee advises supporting at least the regular, medium, semibold and bold weights so the symbol holds up under Dynamic Type and Bold Text. The HIG adds a few rules worth repeating:

  • Don’t bake in enclosures or badges that already exist as variants. Build the bare glyph and let symbolVariant(.circle) or a badge symbol do the rest.
  • Use negative side margins when a symbol needs optical alignment, and then check that neighbouring symbols don’t collide.
  • Give every custom symbol an alternative text label, and set accessibilityLabel wherever a symbol stands alone as a button.
  • Don’t design replicas of Apple products.

Traps and edge cases

Minimum OS per symbol. Every symbol has its own availability, shown in the SF Symbols app’s info panel. A name that exists on iOS 26 renders nothing on iOS 17. Search your code for every systemName: string when you lower the deployment target, and gate new names the same way you gate APIs.

Licensing. Antoine van der Lee highlights the rule most people miss: SF Symbols can’t be used in app icons, logos or other trademark-related uses. Symbols marked with an info badge depict Apple products and can only represent those products.

Text with symbols. You can put a symbol inside Text with interpolation, Text("Tap \(Image(systemName: "plus")) to add"), and it wraps and scales with the text. That is the right way to reference a control in instructions.

UIKit equivalents. UIKit uses UIImage(systemName:), which returns nil for unknown names, plus UIImage.SymbolConfiguration for weight, scale, palette and hierarchical colours. UIImageView.addSymbolEffect(_:) (iOS 17) runs the same effects.

Decision table

Need Use Minimum OS
Icon next to text Label or Image(systemName:) with .font iOS 14 / 13
Depth with one colour .symbolRenderingMode(.hierarchical) iOS 15
Brand colours per layer .palette with foregroundStyle(_:_:) iOS 15
Show a level or strength Image(systemName:variableValue:) iOS 16
Progress that draws symbolVariableValueMode(.draw) iOS 26
Large hero symbol symbolColorRenderingMode(.gradient) iOS 26
Feedback on tap .symbolEffect(.bounce, value:) iOS 17
Wiggle, rotate, breathe .symbolEffect(.wiggle, value:) and friends iOS 18
Swap related states .contentTransition(.symbolEffect(.replace)) iOS 17 (Magic Replace on iOS 18)
Symbol appears or leaves .drawOn, .drawOff iOS 26
Nothing fits Custom symbol from a duplicated template iOS 13 for static, iOS 17 for effects

Before release, open the SF Symbols app, filter to your deployment target, and check that every name you use is listed. It takes a few minutes and it is the one check that catches the blank icon before your users do.

Sources and further reading

Read next