Awesome SwiftUI Libraries.
Do you know cool SwiftUI library? Welcome to contribute!
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
Audio
- Subsonic - A small library that makes it easier to play audio with SwiftUI
Blur
- Colorful - A SwiftUI implementation of AppleCard’s animated colorful blur background
- SwiftUIVisualEffects - View modifiers that wrap UIVisualEffectView, with environment integration.
Button
- buttoncraft - Craft that perfect SwiftUI button effect
- FloatingButton - Easily customizable floating button menu created with SwiftUI
- LoadingButton - Loading Animation Button for SwiftUI
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
Carousel
- ACarousel - A carousel view for SwiftUI
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
- ColorPickerRing - Simple color picker. Looks like a wheel. Plain SwiftUI
- DynamicColor - Yet another extension to manipulate colors easily in Swift and SwiftUI
- SwiftUIColourWheel - A colour wheel made all in SwiftUI
Confetti
- ConfettiView - a Confetti View for SwiftUI
- ConfettiSwiftUI - SwiftUI Package for Configurable Confetti Animation
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
- IrregularGradient - Create animated irregular gradients in SwiftUI
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.
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
- MDText - s a markdown render library built in and for SwiftUI
- SwiftDown - A themable markdown editor component for your SwiftUI apps.
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
- TypeYouCard - SwiftUI Paycard form
Permission
- PermissionsSwiftUI - A SwiftUI package to beautifully display and handle permissions.
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)
Shapes
- SwiftUI Shapes - Collection of SwiftUI shapes
- morphi - Shapes for SwiftUI
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
Speech
- SwiftSpeech - A speech recognition framework designed for SwiftUI.
TabBar-and-Tabs
- SSCustomTabbar - Simple Animated tabbar with native control
- FloatingTabBar - Aesthetic floating tab bar
- StatefulTabView - A SwiftUI TabView that retains the state of each tab as well as some other goodies.
- SlidingTabView - SwiftUI - Sliding Tab View
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
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.
- SimpleToast - SimpleToast is a simple, lightweight and easy to use library to show toasts / pop-ups inside your iOS application in SwiftUI
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
Thanks for reading! See you soon.