Sliders SwiftUI

screenshot of Sliders SwiftUI

Collection of unique fully customizable SwiftUI sliders, joysticks, trackpads and more!

Overview

Sliders is a collection of drag-based SwiftUI components that offers various unique controls, including an enhanced version of the normal Slider called an LSlider. These components provide flexibility and customization options for creating layouts and interactive experiences. The library requires the SwiftUI Framework and is compatible with macOS 10.15 or greater, iOS 13 or greater, and watchOS 6 or greater.

Features

  • LSlider: A spatially adaptive slider that fits to its container at any angle.
  • RSlider: A circularly shaped slider that restricts thumb movement to the radius of the circle.
  • PSlider: Turns any Shape into its own slider.
  • OverflowSlider: A meter-like slider with two moving components, the track and the thumb.
  • TrackPad: A 2D version of a normal slider that restricts thumb displacement to the bounds of the track.
  • RadialPad: A joystick-like component that doesn't reset the thumb's position upon gesture end.
  • Joystick: An onscreen joystick that can appear anywhere the user drags within the defined hitbox. The joystick remains locked in the forward position if the drag ends inside the lockbox.

Summary

Sliders is a comprehensive collection of stylable drag-based SwiftUI components that offer unique controls and enhanced versions of the normal Slider. The library provides a range of features such as spatially adaptive sliders, circular sliders, custom-shaped sliders, meter-like sliders, 2D sliders, joystick-like components, and onscreen joysticks. The components can be easily integrated into SwiftUI projects with the provided installation guide.

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.