BadgeIcon
BadgeIcon copied to clipboard
BadgeIcon is a Swift SDK that helps you mimic System Settings icons in SwiftUI.
About BadgeIcon
BadgeIcon is a Swift SDK that helps you mimic native System Settings icons in SwiftUI.
BadgeIcon comes with a bunch of predefined icons:
You can also create your own icons, with rich customization options.
Installation
BadgeIcon can be installed with the Swift Package Manager:
https://github.com/danielsaidi/BadgeIcon.git
Getting started
BadgeIcon has 30+ predefined icon types, for instance .alert, .bug, .heart, etc.
You can use these badges as regular images:
struct ContentView: View {
var body: some View {
BadgeIcon.calendar
}
}
You can also create your own badge icons, with custom icon and badge styling.
Documentation
The online documentation has more information, articles, code examples, etc.
Support my work
You can sponsor me on GitHub Sponsors or reach out for paid support, to help support my open-source projects.
Your support makes it possible for me to put more work into these projects and make them the best they can be.
Contact
Feel free to reach out if you have questions or if you want to contribute in any way:
- Website: danielsaidi.com
- Mastodon: @[email protected]
- Twitter: @danielsaidi
- E-mail: [email protected]
License
BadgeIcon is available under the MIT license. See the LICENSE file for more info.