{"id":19827919,"url":"https://github.com/terlan98/circularslider","last_synced_at":"2025-10-30T17:47:50.063Z","repository":{"id":58128606,"uuid":"530132486","full_name":"terlan98/CircularSlider","owner":"terlan98","description":"A SwiftUI view that can be interacted with by dragging a knob over a circular path to select a value","archived":false,"fork":false,"pushed_at":"2024-02-09T17:40:42.000Z","size":371,"stargazers_count":28,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-28T02:23:51.451Z","etag":null,"topics":["circular","ios","package","slider","swift","swiftui"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/terlan98.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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/terlan98"]}},"created_at":"2022-08-29T08:33:17.000Z","updated_at":"2025-07-26T02:52:29.000Z","dependencies_parsed_at":"2024-02-09T18:28:32.736Z","dependency_job_id":"0e435df7-ccd3-43e5-a9c9-f6c95ea30d4a","html_url":"https://github.com/terlan98/CircularSlider","commit_stats":{"total_commits":19,"total_committers":4,"mean_commits":4.75,"dds":0.4736842105263158,"last_synced_commit":"59410a86df6d16b6ee0692dffef15249bed1c8bb"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/terlan98/CircularSlider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terlan98%2FCircularSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terlan98%2FCircularSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terlan98%2FCircularSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terlan98%2FCircularSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/terlan98","download_url":"https://codeload.github.com/terlan98/CircularSlider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/terlan98%2FCircularSlider/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278897291,"owners_count":26064780,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["circular","ios","package","slider","swift","swiftui"],"created_at":"2024-11-12T11:14:29.010Z","updated_at":"2025-10-08T05:57:56.064Z","avatar_url":"https://github.com/terlan98.png","language":"Swift","funding_links":["https://www.buymeacoffee.com/terlan98"],"categories":[],"sub_categories":[],"readme":"# CircularSlider\n![spm](https://img.shields.io/badge/SwiftPM-compatible-brightgreen?style=flat-square\u0026logo=swift)\n![spm](https://img.shields.io/github/license/terlan98/CircularSlider?style=flat-square)\n\nA view that can be interacted with by dragging a knob over a circular path to select a value\n\n## Features\n- [x] 🌈 Customizable colors \n- [x] 📐 Customizable size \n- [x] 🔠 Customizable font \n- [x] 🏷 Customizable text with prefix and suffix\n\n## 🛠 How do I install it?\nYou can install `CircularSlider` by going to your Project settings \u003e Swift Packages and add the repository by providing the GitHub URL. Alternatively, you can go to File \u003e Swift Packages \u003e Add Package Dependencies...\n\n## 🚀 How do I use it?\n### Simple Example\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/1-d.png?raw=true#gh-dark-mode-only\" width=\"150\"\u003e\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/1-l.png?raw=true#gh-light-mode-only\" width=\"150\"\u003e\n\n```swift\nstruct ContentView: View {\n    @State var value = 50.0\n\n    var body: some View {\n        VStack {\n            CircularSlider(currentValue: $value)\n        }\n    }\n}\n```\n----\n\n### Fancy Example\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/2-d.png?raw=true#gh-dark-mode-only\" width=\"150\"\u003e\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/2-l.png?raw=true#gh-light-mode-only\" width=\"150\"\u003e\n\n```swift\nstruct ContentView: View {\n    @State var value = 25.0\n\n    var body: some View {\n        VStack {\n            CircularSlider(currentValue: $value,\n                           minValue: 1,\n                           maxValue: 30,\n                           knobColor: .orange,\n                           progressLineColor: .orange,\n                           font: .custom(\"HelveticaNeue-Light\", size: 35),\n                           backgroundColor: .gray.opacity(0.05),\n                           currentValueSuffix: \"$\")\n        }\n    }\n}\n```\n----\n\n### Even Fancier Example...\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/3-d.png?raw=true#gh-dark-mode-only\" width=\"155\"\u003e\n\u003cimg src=\"https://github.com/terlan98/CircularSlider/blob/main/Screenshots/3-l.png?raw=true#gh-light-mode-only\" width=\"155\"\u003e\n\n```swift\nstruct ContentView: View {\n    @State var value = 50.0\n\n    var body: some View {\n        VStack {\n            CircularSlider(currentValue: $value,\n                           minValue: 1,\n                           maxValue: 60,\n                           knobColor: .init(red: 0.5, green: 0.5, blue: 0.5),\n                           progressLineColor: .init(red: 0.84, green: 0.93, blue: 0.09),\n                           font: .custom(\"HelveticaNeue-Light\", size: 35),\n                           backgroundColor: .yellow.opacity(0.09),\n                           currentValueSuffix: \" min\")\n        }\n    }\n}\n```\n\n# License\nCircularSlider is released under the MIT license. See [LICENSE](https://github.com/terlan98/CircularSlider/blob/main/LICENSE) for details.\n\n\u003ca href=\"https://www.buymeacoffee.com/terlan98\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 2.5em !important;width: 9em !important;\" \u003e\u003c/a\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterlan98%2Fcircularslider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterlan98%2Fcircularslider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterlan98%2Fcircularslider/lists"}