AlertToast

screenshot of AlertToast

Create Apple-like alerts & toasts using SwiftUI

Overview:

The AlertToast-SwiftUI library is an open-source tool for SwiftUI that allows developers to present Apple-like alert and toast notifications in their apps. This library is designed to provide a better user experience by allowing developers to inform users about completed processes or other important information without requiring them to dismiss a traditional alert. Built with pure SwiftUI, it offers a range of display modes, customizable options, and support for localization.

Features:

  • Three display modes: Alert (pop at the center), HUD (drop from the top), and Banner (pop/slide from the bottom)
  • Supports different types of alert content such as Complete, Error SystemImage, Image, Loading, and Regular (only text)
  • Works with any kind of view builder
  • Supports Light & Dark Mode
  • Localization support
  • Font & Background customization

CocoaPods:

  1. Install CocoaPods by following the instructions on their website.
  2. Specify "AlertToast" in your Podfile.
  3. Run pod install in your project directory to install the library.

Swift Package Manager:

ui-kit
UI Kits & Components

A UI kit provides developers with a set of reusable components that can be easily integrated into a website or application. These components are pre-designed with consistent styling and functionality, allowing developers to save time and effort in the design and development process. UI kits can be either custom-built or third-party, and often include components for buttons, forms, typography, icons, and more.