Skip to main content

Icon (SF Symbols)

Displays an Apple SF Symbols system icon. No network needed, vector-scalable, and consistent with system visuals.

Usage

Tap the ➕ in the top-right of the editor and add icon, then enter an SF Symbol name in the "content" field:

ContentResult
sun.max
cloud.rain🌧
heart.fill
{icon}Decided by your JS

The editor has a built-in SF Symbols picker (in the icon component's property panel) so you don't have to memorize names.

For the full icon library, see Apple SF Symbols (use the icon's English name).

Common properties

PropertyDescription
ContentSF Symbol name (e.g. bolt.fill)
Width / HeightDisplay size
ColorSolid / gradient
Rotation / OffsetEffects
Opacity0~1

Example: switch icon based on weather

const result = await Weather.getCurrent()
const obj = JSON.parse(result)
this.icon = obj.symbolName // Apple hands you the SF Symbol name directly

Set the icon component's content to {icon} — it automatically renders the matching weather icon.

Lock screen widgets

Lock screen circular / rectangular / inline widgets only render single color, which makes SF Symbols a perfect fit here.