# elai950/AlertToast

Create Apple-like alerts & toasts using SwiftUI

Repository: https://github.com/elai950/AlertToast
Canonical: https://ross.abutalabs.com/products/alerttoast
Homepage: https://elai950.github.io/AlertToast/
Language: Swift
License: MIT
License Family: permissive
Topics: swift, swiftui, alert, popup, apple, toast, dialog, apple-music, ui-components, alert-controller, alert-toast, alert-toast-swiftui, image-alert, xcode, error-alert, toast-alert
Last push: 2024-11-12T11:46:44+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2031, "days_push": 659, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2443, forks 220 (observed 2026-08-28T04:06:52.529158+00:00)

## What it is
AlertToast is a pure SwiftUI library for presenting Apple-style alerts, toasts, HUDs, and banners without requiring user dismissal. It supports multiple display modes, alert types (complete, error, image, loading, regular), light/dark mode, localization, and customization.

## Use cases
- show a toast when a message is sent in a SwiftUI app
- display a non-blocking popup for profile updated notifications
- show a loading indicator popup in iOS
- display an error alert for poor network connection
- show a HUD dropping from the top for logged in/out events
- create Apple Music-style alert popups in SwiftUI

## When to choose
- building an iOS or macOS app with SwiftUI that needs non-intrusive notifications
- you want Apple-like toasts without requiring user taps to dismiss
- you need light/dark mode and localization support out of the box

## When to avoid
- building with UIKit rather than SwiftUI
- you need highly interactive alerts with complex custom layouts and actions
- targeting platforms outside Apple's ecosystem

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, animation
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: swiftui, toast, alert, popup, hud, banner, apple-style, light-dark-mode, ios, macos, swift

## Member repositories
- elai950/AlertToast (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.529158+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:30:35.995315+00:00, confidence not recorded.
  - readme: https://github.com/elai950/AlertToast (fetched 2026-08-28T04:06:52.529158+00:00, sha cee7f66de9a8)
  - homepage: https://elai950.github.io/AlertToast/ (fetched 2026-08-29T10:11:53.256646+00:00, sha 975f3ec5f20f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
