Skip to content

Repository files navigation

SettingsIconGenerator

Generate icons matching Apple Settings style — a colored background with a white SF Symbol. Pick a squircle (iOS) or circle (visionOS) shape.

Installation

In Xcode: File → Add Package Dependencies → paste URL:

https://github.com/sparrowcode/SettingsIconGenerator

Usage

SwiftUI

SettingsIcon(systemName:"bell.fill", backgroundColor:.blue)SettingsIcon(systemName:"bell.fill", backgroundColor:.blue, shape:.circle)

UIKit

letimage=UIImage.generateSettingsIcon("bell.fill", backgroundColor:.systemBlue)letcircle=UIImage.generateSettingsIcon("bell.fill", backgroundColor:.systemBlue, shape:.circle)

About

Generate Apple Settings style icons — colored squircle with white SF Symbol. SwiftUI & UIKit.

Topics

Resources

Stars

163 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages