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
  • Liquid - Create a playful backsplash in SwiftUI
  • shiny - Shiny uses your gyroscope to simulate lighting and motion effects on colors. Works on almost every SwiftUI View
  • SwiftUIPathAnimations - Tools for SwiftUI that helps perform Path and Shape animations, such us morphing circle or shape transformations

Audio

  • Subsonic - A small library that makes it easier to play audio with SwiftUI

Bezier-Path

  • SwiftUI-bez - Utilities for working with bezier curves in SwiftUI

Blur

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

Button

Calendar

  • SwiftUICalendar - SwiftUI base simple 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

Camera

  • Camera-SwiftUI - A lightweight camera library for quick integration with SwiftUI - iOS/iPadOS only
  • CameraView - SwiftUI View for live camera output
  • SwiftUICam - A Snapchat Style Camera View to use with a SwiftUI interface

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
  • DSFSparkline - A lightweight sparkline component for macOS, iOS and tvOS
  • ChartView - ChartView made in SwiftUI

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

  • ConfettiView - a Confetti View for SwiftUI
  • ConfettiSwiftUI - SwiftUI Package for Configurable Confetti Animation
  • SPConfetti - Show the confetti only when the user is having fun, and if not having fun, don't show it

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

Gradient

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

  • AnimatedImage - SwiftUI AnimatedImage View
  • 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.
  • CachedAsyncImage - 🗃️ The simplest way to add cache to your AsyncImage.
  • swiftui-image-viewer - Image viewer built in SwiftUI for both local and remote images

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
  • iActivityIndicator - A Native SwiftUI Activity Indicator Pack

Markdown

  • Parma - A SwiftUI view for displaying Markdown with customizable appearances.
  • MarkdownUI - Render Markdown text in SwiftUI
  • MDText - s a markdown render library built in and for SwiftUI
  • SwiftDown - A themable markdown editor component for your SwiftUI apps.

Menu

  • SideMenu - This repository shows Side Menu written with SwiftUI

Navigation

  • Coordinator - A declarative navigation API for SwiftUI.
  • FlowStacks - FlowStacks allows you to hoist SwiftUI navigation and presentation state into a Coordinator
  • 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.
  • Helm - A graph-based SwiftUI router

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

Photo-Picker

Picker

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.
  • FigmaPreviewSwiftUI - Figma component preview for your SwiftUI views
  • ZeplinPreviewSwiftUI - Zeplin component preview for your SwiftUI views
  • Gala - Create SwiftUI preview variants for macOS, iOS, tvOS, and watchOS with ease

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

Settings

  • RRSettingsKit - A beautiful customizable settings screen created in 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)
  • SwiftUITrackableScrollView - A SwiftUI custom scroll view with content offset binding

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

  • Swiftui sliders - SwiftUI Sliders with custom styles
  • SlidingRuler - A sliding ruler control for SwiftUI
  • Sliders SwiftUI - Collection of unique fully customizable SwiftUI sliders, joysticks, trackpads and more

Speech

  • SwiftSpeech - A speech recognition framework designed for SwiftUI.

SVG

  • SVGView - SVG parser and renderer written in SwiftUI

TabBar-and-Tabs

TextField

  • CurrencyText - Currency text field formatter
  • FloatingLabelTextFieldSwiftUI - Floating Label TextField for SwiftUI. FloatingLabelTextFieldSwiftUI
  • iPhoneNumberField - Elegant SwiftUI phone number textField
  • OmenTextField - A better TextField for SwiftUI. A growing, multiline, auto-focusable TextField supporting bindable focus
  • Focuser - Focus text field in SwiftUI dynamically and progress through form using iOS keyboard
  • KeyboardAvoider - The missing interactive keyboard in SwiftUI for iOS

TextView

  • TextView - The missing TextView in SwiftUI

Text

  • TextBuilder - Like a SwiftUI ViewBuilder, but for Text
  • MarqueeText - Marquee or "scrolling text" effect 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.
  • SimpleToast - SimpleToast is a simple, lightweight and easy to use library to show toasts / pop-ups inside your iOS application in SwiftUI
  • SwiftUI-Tooltip - Easy Tooltip for your SwiftUI Project

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

Whats-New

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

Top comments (10)

Collapse
 
vulcanwm profile image
Medea

Woah this is really helpful! Thanks!

Collapse
 
toni777772 profile image
Anton Paliakou

Thank You for feedback)

Collapse
 
vulcanwm profile image
Medea

No problem! :)

Collapse
 
silviaespanagil profile image
Silvia España Gil

Love it, iI would love to add ViewInspector which allow to do unit test to SwiftUI views with a lot of detail

github.com/nalexn/ViewInspector

Collapse
 
toni777772 profile image
Anton Paliakou

Thank you) It's has in Unit-testing section.

Collapse
 
akardas16 profile image
akardas16

Hi I have a nice library. Could you add it to list? here is link github.com/akardas16/SideMenu

Collapse
 
toni777772 profile image
Anton Paliakou

I did. Thank you =)

Collapse
 
akardas16 profile image
akardas16

hi could you check out github.com/akardas16/CustomToggle

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 • Edited

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