Awesome SwiftUI Libraries ๐ ๐ ๐
Do you know a cool SwiftUI library? Welcome to contribute!
Content
- Alert
- Animation
- Audio
- Bezier Path
- Blur
- Button
- Calendar
- Camera
- Card
- Chart
- Carousel
- Clock
- Collection
- Color
- Confetti
- CoreData
- Debug
- Extensions
- Game
- Gradient
- Grid
- Image
- List
- Loading Indicator
- Markdown
- Map
- Menu
- Navigation
- Pages
- Payment
- Permission
- Photo Picker
- Picker
- Preview
- QRCode
- Ratings
- Search
- Settings
- State
- Scroll
- Shapes
- Sheet
- Step
- Skeleton
- Slider
- Speech
- Stack
- SVG
- TabBar and Tabs
- TextField
- TextView
- Text
- Toast and Popup
- Unit-testing
- Video
- Whats New
- Web
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
- NavigationTransitions - Pure SwiftUI Navigation animated transitions
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
- buttoncraft - Craft that perfect SwiftUI button effect
- CUIExpandableButton - A SwiftUI button that expands to show more content
- 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
- ChartView - ChartView made in SwiftUI
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
- 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
- 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
- Grid - The most powerful Grid container missed in SwiftUI
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.
Map
- InteractiveMap - A Library to draw interactive maps and SVGs in SwiftUI
- DotGlobe - A Library to that draws a dotted earth map to a globe and allows you to interract with it
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
- TypeYouCard - SwiftUI Paycard form
Permission
- PermissionsSwiftUI - A SwiftUI package to beautifully display and handle permissions.
Photo-Picker
- PhotoLibraryPicker - Photo Library Picker for SwiftUI
- MediaPicker - Customizable media picker written with SwiftUI
Picker
- SwiftUIWheelPicker - Custom horizontal wheel picker for SwiftUI
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.
Ratings
- StarRating - A customizable star rating control
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
- ScrollViewIfNeeded - A SwiftUI ScrollView that only scrolls if the content doesn't fit in the View
Shapes
- SwiftUI Shapes - Collection of SwiftUI shapes
- morphi - Shapes for SwiftUI
- SwiftUI-Shapes - Commonly Used Shapes and Utilities In 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
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.
Stack
- WrappingHStack - Like HStack, but automatically positions overflowing elements on next lines.
Step
- StepperView - SwiftUI iOS component for Step Indications.
SVG
- SVGView - SVG parser and renderer written in SwiftUI
TabBar-and-Tabs
- AnimatedTabBar - A tabbar with number of preset animations written in pure SwiftU
- 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
- 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
- WhatsNewKit - Showcase your awesome new app features
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