Custom SwiftUI sliders and tracks.
This package allows you to build highly customizable sliders and tracks for iOS, macOS and Mac Catalyst.
Features
- Build your own sliders and tracks using composition
- Highly customizable
- Horizontal and Vertical styles
- Range and XY values
- Different sizes for lower and upper range thumbs
How to use
Add this swift package to your project
git@github.com:SwiftUIExtensions/Sliders.git
Import and use
For more examples open /Examples/SlidersExamples.xcodeproj
Customizations
Use can use any SwiftUI view modifier to create custom tracks and thumbs.
Simple gradient value slider style
Multivalue track
Complex range slider style
Complex point slider style
SDKs
- iOS 13+
- Mac Catalyst 13.0+
- macOS 10.15+
- Xcode 11.0+
Roadmap
- Slider styles
- Circular sliders and tracks