talira

ProgressHUD

Lightweight HUD for iOS: loading animations, progress, success and error alerts, banners

open sourceMITfree

ProgressHUD shows short, non-disruptive alerts and loading indicators in an iOS app: animated loading HUDs with or without text, progress values, success and failure marks, SF Symbol HUDs, and banners with a title and message. You add a .progressHUD() modifier to your root view and call ProgressHUD.animate, progress, succeed, failed or banner, and you can customise the colours, font, image, animation type and size. Version 15.x is for SwiftUI; 14.x releases cover UIKit. Related Code makes it.

Problems it solves

  • show a loading spinner overlay in my iOS app
  • show a quick success or error message in SwiftUI
  • display upload progress in a HUD on iOS

Features

  • animated loading HUDs, with or without text
  • progress HUD with a value
  • success, failure and SF Symbol HUDs
  • banners with a title and message
  • customisable colour, font, image, animation type and size

Limitations

  • Version 15.x needs iOS 17 or later and is SwiftUI only; UIKit apps use the 14.x releases.1

Alternatives

The same job

These do what ProgressHUD does.

  1. SVProgressHUD A clean and lightweight progress HUD for iOS and tvOS apps
  2. ActivityIndicatorView Preset SwiftUI loading indicators

Compare ProgressHUD with the top 3