SVG Icons
SVG Icons
WidgetKit supports SVG icon usage in image controls and icon buttons.
Color Modes
- Use original SVG colors when the asset already contains the desired palette.
- Use runtime tint color when the icon should follow theme state.
Notes
Prefer simple path-based SVG icons. Avoid SVGs with complex filters when the icon is expected to be tinted, because filters can introduce unexpected dark artifacts.