{"id":16685958,"url":"https://github.com/danielsaidi/badgeicon","last_synced_at":"2025-04-09T10:05:36.461Z","repository":{"id":212634370,"uuid":"731949019","full_name":"danielsaidi/BadgeIcon","owner":"danielsaidi","description":"BadgeIcon is a Swift SDK that helps you mimic System Settings icons in SwiftUI.","archived":false,"fork":false,"pushed_at":"2025-03-31T20:48:16.000Z","size":1338,"stargazers_count":98,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-31T21:39:08.568Z","etag":null,"topics":["ios","macos","swift","swiftui","tvos","visionos","watchos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielsaidi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["danielsaidi"]}},"created_at":"2023-12-15T09:09:36.000Z","updated_at":"2025-03-31T20:48:19.000Z","dependencies_parsed_at":"2024-01-02T15:43:15.907Z","dependency_job_id":"5670d04a-483e-4f43-a43e-9b799e28b3f6","html_url":"https://github.com/danielsaidi/BadgeIcon","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"6dde5abae3c528060eff14a414301aee95559172"},"previous_names":["danielsaidi/badgeicon"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FBadgeIcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FBadgeIcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FBadgeIcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FBadgeIcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielsaidi","download_url":"https://codeload.github.com/danielsaidi/BadgeIcon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018060,"owners_count":21034048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","macos","swift","swiftui","tvos","visionos","watchos"],"created_at":"2024-10-12T15:04:00.104Z","updated_at":"2025-04-09T10:05:36.425Z","avatar_url":"https://github.com/danielsaidi.png","language":"Shell","funding_links":["https://github.com/sponsors/danielsaidi"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg src=\"Resources/Icon.png\" alt=\"Project Icon\" width=\"250\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/danielsaidi/BadgeIcon?color=%2300550\u0026sort=semver\" alt=\"Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Swift-6.0-orange.svg\" alt=\"Swift 6.0\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/platform-SwiftUI-blue.svg\" alt=\"Swift UI\" title=\"Swift UI\" /\u003e\n    \u003ca href=\"https://danielsaidi.github.io/BadgeIcon\"\u003e\u003cimg src=\"https://img.shields.io/badge/documentation-web-blue.svg\" alt=\"Documentation\" /\u003e\u003c/a\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/danielsaidi/BadgeIcon\" alt=\"MIT License\" /\u003e\n\u003c/p\u003e\n\n\n# BadgeIcon\n\nBadgeIcon is a SwiftUI library that helps you create beautiful, scalable icons, using SF Symbols or custom assets:\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src =\"Resources/Preview_Grid.png\" alt=\"BadgeIcon Preview\" title=\"BadgeIcon Preview\" /\u003e\n\u003c/p\u003e\n\nBadgeIcon comes with 49 predefined icons, and lets you create custom icons with rich customization options. \n\n\n\n\n## Installation\n\nBadgeIcon can be installed with the Swift Package Manager:\n\n```\nhttps://github.com/danielsaidi/BadgeIcon.git\n```\n\n\n\n## Getting started\n\nBadgeIcon has 49 predefined icons, like `.alert`, `.bug`, and `.heart`, which will scale to fill the available space:\n\n```swift\nstruct ContentView: View {\n\n    var body: some View {\n        BadgeIcon.calendar\n        BadgeIcon.heart.frame(width: 150)\n    }\n}\n```\n\nYou can also create your own badge icons, with a rich set of icon and badge style options:\n\n```swift\nextension BadgeIcon {\n\n    public static let prominentError = Self(\n        icon: MyCustomErrorIcon(),\n        style: .init(\n            badgeColor: .red\n        )\n    )\n}\n```\n\nYou can use both `Image` values or custom views as the icon that is shown inside the badge.\n\n\n\n## Documentation\n\nThe online [documentation][Documentation] has more information, articles, code examples, etc.\n\n\n\n## Support my work \n\nYou can [sponsor me][Sponsors] on GitHub Sponsors or [reach out][Email] for paid support, to help support my [open-source projects][OpenSource].\n\nYour support makes it possible for me to put more work into these projects and make them the best they can be.\n\n\n\n## Contact\n\nFeel free to reach out if you have questions or want to contribute in any way:\n\n* Website: [danielsaidi.com][Website]\n* E-mail: [daniel.saidi@gmail.com][Email]\n* Bluesky: [@danielsaidi@bsky.social][Bluesky]\n* Mastodon: [@danielsaidi@mastodon.social][Mastodon]\n\n\n\n## License\n\nBadgeIcon is available under the MIT license. See the [LICENSE][License] file for more info.\n\n\n\n[Email]: mailto:daniel.saidi@gmail.com\n[Website]: https://www.danielsaidi.com\n[GitHub]: https://www.github.com/danielsaidi\n[Bluesky]: https://bsky.app/profile/danielsaidi.bsky.social\n[Twitter]: https://www.twitter.com/danielsaidi\n[Mastodon]: https://mastodon.social/@danielsaidi\n[Sponsors]: https://github.com/sponsors/danielsaidi\n[OpenSource]: https://www.danielsaidi.com/opensource\n\n[Documentation]: https://danielsaidi.github.io/BadgeIcon/\n[Getting-Started]: https://danielsaidi.github.io/BadgeIcon/documentation/badgeicon/getting-started\n[License]: https://github.com/danielsaidi/BadgeIcon/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fbadgeicon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielsaidi%2Fbadgeicon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fbadgeicon/lists"}