DEV Community

Cover image for Awesome SwiftUI Libraries List
Anton Paliakou
Anton Paliakou

Posted on • Updated on

Awesome SwiftUI Libraries List

Do you like the list? Press ⭐️ on GitHub too! Thanks!
https://github.com/Toni77777/awesome-swiftui-libraries

Alert

  • AlertToast - Create Apple-like alerts & toasts using SwiftUI
  • AlertX - A library for SwiftUI to create custom alerts with different appearances and animations.
  • SPAlert - Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets. Support SwiftUI.

Animation

  • swiftui-animations - SwiftUI Animation Library. Useful SwiftUI animations including Loading/progress, Looping, On-off, Enter, Exit, Fade, Spin and Background animations that you can directly implement in your next iOS application or project. The library also contains huge examples of spring animations such as Inertial Bounce, Shake, Twirl, Jelly, Jiggle, Rubber Band…
  • SwiftUI-Animation - SwiftUI Animation

Blur

  • Colorful - A SwiftUI implementation of AppleCard's animated colorful blur background
  • SwiftUIVisualEffects - View modifiers that wrap UIVisualEffectView, with environment integration.

Button

  • FloatingButton - Easily customizable floating button menu created with SwiftUI
  • buttoncraft - Craft that perfect SwiftUI button effect

Calendar

  • RKCalendar - SwiftUI Simple Calendar / Date Picker for iOS
  • ElegantCalendar - The elegant full screen calendar missed in SwiftUI.
  • DateGrid - A customizable swiftui calendar
  • ECWeekView - An iOS calendar library for displaying calendar events in a week view

Card

  • DeckKit - DeckKit is a tiny library that helps you create card-based apps in SwiftUI.
  • SlideOverCard - A SwiftUI card view, made great for setup interactions.
  • SwiftUI-CardStackView - A easy-to-use SwiftUI view for Tinder like cards on iOS, macOS & watchOS
  • RGStack - This UI attempts to capture the Quibi Card Stack and the associated User Interaction
  • swipeable-cards - Swipeable Cards with SwiftUI

Chart

  • SwiftUICharts - A simple line and bar charting library that supports accessibility written using SwiftUI.
  • swiftui-charts - SwiftUI Charts with custom styles
  • SwiftSunburstDiagram - SwiftUI library to easily render diagrams given a tree of objects. Similar to ring chart, sunburst chart, multilevel pie chart.
  • SwiftUIFourierSeries - A Fourier Series visualisation written in Swift/SwiftUI
  • Rings - Rings provides some UI with the Ring, Circle or other similar shapes.
  • RHLinePlot - Line plot like in Robinhood app in SwiftUI
  • BarChart - SwiftUI Bar Chart
  • stock-charts - SwiftUI stock charts for iOS
  • LightChart - SwiftUI charts

Carousel

Clock

  • SwiftClockUI - SwiftUI library to display a clock. You can move the arms to change the time, change the style of the clock and customise some configurations.

Collection

  • ASCollectionView - A SwiftUI collection view with support for custom layouts, preloading, and more.

Color

Confetti

CoreData

  • PredicateKit - PredicateKit allows Swift developers to write expressive and type-safe predicates for CoreData using key-paths, comparisons and logical operators, literal values, and functions.
  • SwiftDB - A modern database abstraction layer, batteries included.

Debug

  • LocalConsole - In-app console and debug tools for iOS developers
  • EnvironmentOverrides - QA assistant for a SwiftUI app: change the color scheme, accessibility settings, and localization on the fly!

Extensions

  • SwiftUIX - An extension to the standard SwiftUI library.
  • ViewCondition - Super sweet syntactic sugar for SwiftUI.View initializers.

Game

  • OctopusKit - 2D ECS game engine in 100% Swift + SwiftUI for iOS, macOS, tvOS

Grid

  • BSZoomGridScrollView - Fun GridScrollView written in SwiftUI + Combine, bridging between UIKit
  • FlowStack - A grid layout view for SwiftUI
  • WaterfallGrid - A waterfall grid layout view for SwiftUI.
  • QGrid - 🎛 QGrid: The missing SwiftUI collection view.
  • GridStack - A flexible grid layout view for SwiftUI
  • Micro - Fast diffing and type safe SwiftUI style data source for UICollectionView

Image

  • SDWebImageSwiftUI - SwiftUI Image loading and Animation framework powered by SDWebImage
  • url-image - AsyncImage before iOS 15. Lightweight, pure SwiftUI Image view, that displays an image downloaded from URL, with auxiliary views and local cache.
  • Longinus - A pure Swift high-performance asynchronous image loading framework.
  • NukeUI - Lazy image loading for SwiftUI
  • SwURL - Lightweight asynchronous image loading in SwiftUI. Fetch and display images from URLs.

List

  • AdvancedList - Advanced List View for SwiftUI with pagination & different states
  • EmptyList - EmptyList - List(SwiftUI) supports displaying Empty ListView for empty state
  • SwipeCell - Swipe Left2Right & Right2Left, pure SwiftUI implementation

Loading-Indicator

  • ActivityIndicatorView - A number of preset loading indicators created with SwiftUI
  • TTProgressHUD - TTProgressHUD is a light weight HUD written in SwiftUI meant to display the progress of an ongoing task on iOS
  • LoaderUI - NVActivityIndicatorView implemented in SwiftUI
  • JGProgressHUD-SwiftUI - Easily show HUDs with SwiftUI! Lightweight SwiftUI wrapper for JGProgressHUD for iOS, tvOS, Catalyst

Markdown

  • Parma - A SwiftUI view for displaying Markdown with customizable appearances.
  • MarkdownUI - Render Markdown text in SwiftUI

Navigation

  • SwiftUIRouter - Path based routing in SwiftUI
  • Swift Composable Navigator - An open source library for building deep-linkable SwiftUI applications with composition, testing and ergonomics in mind
  • stinsen - Coordinators in SwiftUI. Simple, powerful and elegant.
  • NavigationStack - An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation.
  • NavigationKit - SwiftUI navigation done right
  • Router - Router is a library that assists with SwiftUI view transitions.
  • Coordinator - A declarative navigation API for SwiftUI.

Pages

  • SwiftUIPager - Native Pager in SwiftUI
  • ConcentricOnboarding - SwiftUI library for a walkthrough or onboarding flow with tap actions
  • Pages - A lightweight, paging view solution for SwiftUI
  • fredyshox/PageView - SwiftUI view enabling navigation between pages of content, imitating the behaviour of UIPageViewController for iOS and watchOS
  • PagerTabStripView - Elegant Pager View fully written in pure SwiftUI

Payment

Permission

Preview

  • PreviewDevice - PreviewDevice - library with elegant syntax for Preview Device in SwiftUI
  • PreviewView - Make use of SwiftUI Previews for UIKit
  • SafePreviewDevice - Safe and fast access to SwiftUI PreviewDevice.

QRCode

  • CarBode - CarBode : Free & Opensource barcode scanner & generator for SwiftUI
  • CodeScanner - A SwiftUI view that is able to scan barcodes, QR codes, and more, and send back what was found.

Search

  • SwiftlySearch - A small, lightweight UISearchController wrapper for SwiftUI

State

  • Pigeon - Async state management for SwiftUI
  • Verge - Verge is a very tunable state-management engine on iOS App
  • SwiftDux - Predictable state management for SwiftUI applications.

Scroll

  • FancyScrollView - A SwiftUI ScrollView Designed to imitate the App Store and Apple Music ScrollViews (with or without a Parallax Header)

Shapes

Sheet

  • BottomSheet - A SwiftUI view component sliding in from bottom
  • SwiftUI Drawer - A SwiftUI bottom-up
  • Snap - A customizable Snapping Drawer à la Apple Maps. 100% in SwiftUI.
  • BottomSheet (LucasMucGH) - A sliding Sheet from the bottom of the Screen with 3 States build with SwiftUI.
  • ActionOver - A custom SwiftUI modifier to present an ActionSheet or a Popover menu
  • BetterSheet - A powerful SwiftUI sheet replacement

Step

  • StepperView - SwiftUI iOS component for Step Indications.

Skeleton

  • SkeletonUI - Elegant skeleton loading animation in SwiftUI and Combine.

Slider

Speech

  • SwiftSpeech - A speech recognition framework designed for SwiftUI.

TabBar & Tabs

TextField

TextView

  • TextView - The missing TextView in SwiftUI

Toast-and-Popup

  • Drops - A µFramework for showing alerts like the one used when copying from pasteboard or connecting Apple pencil
  • ExytePopupView - Toasts and popups library written with SwiftUI
  • ToastUI - A simple way to show toast in SwiftUI.
  • SSToastMessage - SSToastMessage is written purely in SwiftUI. It will add toast, alert, and floating message view over the top of any view. It is intended to be simple, lightweight, and easy to use. It will be a popup with a single line of code.

Unit-testing

  • ViewInspector - Runtime introspection and unit testing of SwiftUI views

Video

  • VideoPlayer - A video player for SwiftUI, support for caching, preload and custom control view
  • YouTubePlayerKit - A Swift Package to easily play YouTube videos

Web

  • BetterSafariView - A better way to present a SFSafariViewController or start a ASWebAuthenticationSession in SwiftUI.
  • Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms.
  • SwiftWebUI - SwiftUI with support for WebAssembly

Do you know a cool SwiftUI library? Welcome to contribute!
https://github.com/Toni77777/awesome-swiftui-libraries

Discussion (2)

Collapse
stanbright profile image
Stan Bright

Thanks Anton! I'd suggest libhunt.com/l/swift/trending when looking for awesome Swift libraries. (disclosure - I've built LibHunt)

Collapse
toni777772 profile image
Anton Paliakou Author • Edited

Thanks! It looks great) Good job! I will see for details