Swiftpack.co - Package - danielsaidi/SwiftUIKit

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


SwiftUIKit contains additional functionality for SwiftUI.

Version Swift UI Swift 5.3 MIT License Twitter: @danielsaidi

About SwiftUIKit

SwiftUIKit adds extra functionality to SwiftUI, like extensions to existing types and completely new views, pickers, utilites, services etc.

SwiftUIKit is divided into these areas:

  • Blurs
  • Cameras
  • Data
  • Extensions
  • Gestures
  • Navigation
  • Pickers
  • Presentation
  • Sharing
  • Styles
  • Views

You can explore the various sections in the demo app.

Demo App

This project contains a demo app that lets you explore SwiftUIKit through interactive demos.

The demo app provides an intuitive way to explore the library. Together with the extensive documentation and SwiftUI previews, I hope you'll find it easy to understand how the various parts of the library works.

To run the demo app, just open and run the Demo/Demo.xcodeproj project. It's a universal app project, but the macOS app is currenty not working that well.


Swift Package Manager



pod DSSwiftUIKit

Note that you have to use import DSSwiftUIKit when you use CocoaPods. The name SwiftUIKit was (not surprisingly) already taken.

Contact me

Feel free to reach out if you have questions or if you want to contribute in any way:


SwiftUIKit is available under the MIT license. See LICENSE file for more info.


Stars: 233
Last commit: 2 weeks ago


- 2020-12-29T15:11:46


  • The demo app now compiles for macOS and runs on M1 machines.
  • More views are available for tvOS and watchOS.
  • The SimplePicker views have been rewritten to great extent and can now be customized across platforms.
  • The SimplePickerScreen preview shows how the picker can transform for various platforms.
  • There is a new SimplePickerTvScreen that sets up a simple picker for being used on tvOS.

New views:

  • FullHeightView takes up all available horizontal space and puts its content in the center.
  • FullWidthView takes up all available vertical space and puts its content in the center.
  • FullSizeView takes up all available space and puts its content in the center.
  • TextFieldClearButton is a modifier that adds a trailing clear btton within a text view.

New extensions:

  • Color+ClearInteractable lets you apply a clear but interactable backround color to make the entire area of a button interactable.
  • TextField+ClearButton applies a TextFieldClearButton to the textfield.
  • View+Keyboard lets any view dismiss the keyboard.

Breaking changes:

  • The SimplePicker changes are breaking.