{"id":21668490,"url":"https://github.com/mor4eza/bouncyslider","last_synced_at":"2025-05-08T07:51:56.608Z","repository":{"id":262621041,"uuid":"887265186","full_name":"Mor4eza/BouncySlider","owner":"Mor4eza","description":"🔊iOS Control Center Volume Slider implemention in SwiftUI","archived":false,"fork":false,"pushed_at":"2024-11-13T12:52:10.000Z","size":178,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T07:51:50.749Z","etag":null,"topics":["bouncy","library","slider","spm","swift","swiftui","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mor4eza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-11-12T12:59:35.000Z","updated_at":"2025-02-21T19:08:22.000Z","dependencies_parsed_at":"2024-11-13T12:26:14.902Z","dependency_job_id":"9a9484dd-fad6-41fd-8006-562632d25df5","html_url":"https://github.com/Mor4eza/BouncySlider","commit_stats":null,"previous_names":["mor4eza/bouncyslider"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FBouncySlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FBouncySlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FBouncySlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mor4eza%2FBouncySlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mor4eza","download_url":"https://codeload.github.com/Mor4eza/BouncySlider/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253025336,"owners_count":21842409,"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":["bouncy","library","slider","spm","swift","swiftui","xcode"],"created_at":"2024-11-25T12:16:06.138Z","updated_at":"2025-05-08T07:51:56.586Z","avatar_url":"https://github.com/Mor4eza.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BouncySlider\n\n[![Platform](https://img.shields.io/badge/platform-iOS-lightgrey.svg)](https://developer.apple.com/ios/)\n[![Swift](https://img.shields.io/badge/Swift-5.0-orange.svg)](https://swift.org/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n**BouncySlider** is a customizable and interactive SwiftUI slider with a delightful bouncy animation. Perfect for adding a fun, engaging slider component to your iOS apps.\n\n## Features\n\n- 🌈 Smooth and bouncy animation for enhanced user experience.\n- 🎨 customizable appearance (color, image, size).\n- 📱 Compatible with SwiftUI and supports iOS.\n\n## Preview\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Mor4eza/BouncySlider/blob/main/Resource/demo.gif\" width=\"300\" alt=\"BouncySlider demo\"\u003e\n\u003c/p\u003e\n\n## Installation\n\nYou can add BouncySlider to your project using Swift Package Manager:\n\n1. Open your project in Xcode.\n2. Go to **File \u003e Add Package Dependency...**\n3. Enter the following URL:\n4. https://github.com/Mor4eza/BouncySlider.git\n5. Select the version you’d like to use, or leave it as the default, and click **Next**.\n\n## Usage\n\n### Basic Usage\n\nTo use **BouncySlider** in your SwiftUI view:\n\n```swift\nimport SwiftUI\nimport BouncySlider\n\nstruct ContentView: View {\n\n    @State var value: CGFloat = 0.5\n    var body: some View {\n        VStack {\n            BouncySlider(value: $value, orientation: .vertical) {\n                if value == 1.0 {\n                    Image(systemName: \"speaker.wave.3.fill\").foregroundStyle(.gray)\n                } else if value \u003c 1.0 \u0026\u0026 value \u003e 0.36 {\n                    Image(systemName: \"speaker.wave.2.fill\").foregroundStyle(.gray)\n                } else if value \u003c= 0.35 \u0026\u0026 value \u003e 0.0 {\n                    Image(systemName: \"speaker.wave.1.fill\").foregroundStyle(.gray)\n                } else {\n                    Image(systemName: \"speaker.fill\").foregroundStyle(.gray)\n                }\n            }\n            Text(\"Volume: \\(Int(value * 100))%\")\n                \n        }\n        \n    }\n}\n```\n\n\n### Customization\n\nYou can customize various properties of the slider to fit your design needs:\n\n- **Background Color**: Set the color of the slider Background.\n- **Fill Color**: Set the color of the Slider.\n- **Custom Image**: Add Custom Image to Slider.\n- **Orientation**: Set the Slider Orientation to Vertical or Horizontal.\n- **Slider length**: Change the length of the slider.\n\nExample:\n\n```swift\nBouncySlider(value: $value, orientation: .vertical, backgroundColor: .red, fillColor: .yellow) {\n  Image() // use your desired image\n}\n```\n\n## Example\n\nTo see **BouncySlider** in action, check out the included example project in the repository.\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Mor4eza/BouncySlider.git\n   ```\n2. Open BouncySliderExample.xcodeproj in Xcode.\n\n3. Build and run the project in the simulator or on a device.\n\nThis example demonstrates the basic and advanced uses of BouncySlider and lets you experiment with different customization options.\n\n## Requirements\n\n- iOS 14.0+\n- Swift 5.0+\n- SwiftUI\n\n## License\n\nBouncySlider is available under the MIT license. See the [LICENSE](LICENSE) file for more information.\n\n## Contributing\n\nContributions are welcome! If you have ideas for new features, improvements, or find any bugs, feel free to open an issue or submit a pull request. Please ensure that your contributions align with the existing code style and provide appropriate documentation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor4eza%2Fbouncyslider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmor4eza%2Fbouncyslider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmor4eza%2Fbouncyslider/lists"}