{"id":27924433,"url":"https://github.com/danielsaidi/buttonkit","last_synced_at":"2025-05-06T23:49:53.558Z","repository":{"id":291411913,"uuid":"977529380","full_name":"danielsaidi/ButtonKit","owner":"danielsaidi","description":"ButtonKit is a SwiftUI library with button-specific utilities.","archived":false,"fork":false,"pushed_at":"2025-05-04T13:33:30.000Z","size":549,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-04T14:19:45.170Z","etag":null,"topics":["ios","macos","swift","swiftui","tvos","visionos","watchos"],"latest_commit_sha":null,"homepage":"http://danielsaidi.com/opensource","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,"zenodo":null},"funding":{"github":["danielsaidi"]}},"created_at":"2025-05-04T12:19:50.000Z","updated_at":"2025-05-04T13:41:04.000Z","dependencies_parsed_at":"2025-05-04T14:19:47.643Z","dependency_job_id":"1e3297ce-45f0-48a5-bc57-31c2bfb5be7a","html_url":"https://github.com/danielsaidi/ButtonKit","commit_stats":null,"previous_names":["danielsaidi/buttonkit"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FButtonKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FButtonKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FButtonKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielsaidi%2FButtonKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielsaidi","download_url":"https://codeload.github.com/danielsaidi/ButtonKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252788433,"owners_count":21804284,"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":"2025-05-06T23:49:52.983Z","updated_at":"2025-05-06T23:49:53.554Z","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/ButtonKit?color=%2300550\u0026sort=semver\" alt=\"Version\" title=\"Version\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/swift-6.0-orange.svg\" alt=\"Swift 6.0\" /\u003e\n    \u003ca href=\"https://danielsaidi.github.io/ButtonKit\"\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/ButtonKit\" alt=\"MIT License\" title=\"MIT License\" /\u003e\n\u003c/p\u003e\n\n\n# ButtonKit\n\nButtonKit is a SwiftUI library with button-specific utilities.\n\n\n\n## Installation\n\nButtonKit can be installed with the Swift Package Manager:\n\n```\nhttps://github.com/danielsaidi/ButtonKit.git\n```\n\n\n\n## Getting Started\n\nFor now, this library only contains a `StandardButtonType` with the following types:\n\n```\nadd, addToFavorites,\ncancel, call, close, copy,\ndelete, deselect, done,\nedit, email, export,\nlike,\nok,\npaste,\nremoveFromFavorites, removeLike,\nsave, search, select, share\n```\n\nA standard button type defines the following information:\n\n* Title\n* Icon\n* Button Role\n* Keyboard Shortcut\n\nYou can use the custom `Button(:action:)` initializer to create a standard button with all those properties applied, for instance:\n\n```swift\nButton(.add) { \n    // Add your custom add logic here\n}\n```\n\nThe button above will render properly on all major Apple platforms, and use proper localization. You can apply any view modifiers and button styles to the button to customize it.\n\n\n## Localization\n\nButtonKit is localized in the following languages:\n\n* 🇺🇸 English (US)\n* 🇸🇪 Swedish\n\nUse `Sources/ButtonKit/Resources/Localizable.xcstrings` to add support for more languages.  \n\n\n\n## Documentation\n\nThe online [documentation][Documentation] has more information, articles, code examples, etc.\n\n\n\n## Demo Application\n\nThis repository will get a demo app after it reaches 100 stars.\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\nButtonKit 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://danielsaidi.com\n[GitHub]: https://github.com/danielsaidi\n[OpenSource]: https://danielsaidi.com/opensource\n[Sponsors]: https://github.com/sponsors/danielsaidi\n\n[Bluesky]: https://bsky.app/profile/danielsaidi.bsky.social\n[Mastodon]: https://mastodon.social/@danielsaidi\n[Twitter]: https://twitter.com/danielsaidi\n\n[Documentation]: https://danielsaidi.github.io/ButtonKit\n[Getting-Started]: https://danielsaidi.github.io/ButtonKit/documentation/ButtonKit/getting-started\n[License]: https://github.com/danielsaidi/ButtonKit/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fbuttonkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielsaidi%2Fbuttonkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielsaidi%2Fbuttonkit/lists"}