A Swift UI Kit for presenting clean, customizable modal alerts and action sheets with iOS 13+ dark/light mode support.
CleanyModal is a Swift UI Kit designed to present clean, highly customizable modal alerts and action sheets in iOS applications. It provides a drop-in replacement for UIAlertViewController with enhanced styling options, support for custom views, and built-in dark/light mode compatibility. The library solves the problem of limited customization in native iOS alerts while maintaining a familiar API.
iOS developers building applications that require branded, visually consistent modal alerts and action sheets beyond the default UIAlertViewController capabilities.
Developers choose CleanyModal for its balance of simplicity and customization—it offers a clean API similar to UIAlertViewController but with extensive theming options, support for custom components, and automatic iOS 13+ dark/light mode adaptation without extra configuration.
Swift UI Kit to present clean modal/alert
Uses the same API as UIAlertViewController, reducing the learning curve for iOS developers and making it easy to drop into existing codebases.
Allows deep theming through style settings, enabling brand-consistent alerts with properties like tintColor and destructiveColor, as demonstrated in the example code.
Supports adding text fields or custom views via a content UIStackView, expanding alert functionality beyond standard native options.
Built-in dark and light mode compatibility for iOS 13+, ensuring alerts adapt automatically to system themes without extra configuration.
Theming requires creating custom subclasses, such as MyAlertViewController, adding boilerplate code compared to configuration-based or declarative alternatives.
Lacks native SwiftUI support, making it less suitable for modern iOS projects adopting Apple's declarative UI framework without additional bridging code.
Primarily distributed via CocoaPods, with no explicit mention of Swift Package Manager or Carthage, which could complicate integration in projects using other dependency managers.
A very flexible message bar for UIKit and SwiftUI.
Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
General-purpose contextual cards for iOS
Beautiful animated Alert View. Written in Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.