Overview of Sliders controls
masterThe Sliders framework provides a collection of fully stylable, drag-based SwiftUI controls designed to replace or extend the standard SwiftUI Slider.
Key features include:
- Full Styling: Every component uses a style protocol, allowing independent customization of the thumb, track, tick marks, and floating labels.
- Spatial Adaptability: Controls scale to their containers and accept an
angleparameter for horizontal, vertical, or diagonal placement. - Tick Marks & Haptics: Supports evenly-spaced, step-spaced, or arbitrary tick marks with iOS haptic feedback.
- Magnetic Affinity Snapping: An optional behavior where the thumb snaps to nearby tick marks and requires a deliberate extra drag to break free.