new modifier gradient

Asked on 2026-08-12

1 search

If you mean the new gradient modifier in SF Symbols 7, Apple introduced gradient rendering for symbols in What’s new in SF Symbols 7.

What it does

  • Sets a symbol’s color rendering mode to gradient
  • Works in SwiftUI with a view modifier
  • Also available through symbol configuration in UIKit and AppKit
  • The gradient is generated from a single source color
  • It works with both system and custom colors
  • It applies across all rendering modes

Example usage

In SwiftUI, you can use the new gradient rendering mode modifier on a symbol to get the gradient treatment.

If you want, I can also point you to the Gradients section of What’s new in SF Symbols 7 or explain how it compares to SF Symbols 6.