DEV Community

Cover image for react-native-pretty-toast: Dynamic Island Toast Notifications for iOS & Android
jQueryScript
jQueryScript

Posted on

react-native-pretty-toast: Dynamic Island Toast Notifications for iOS & Android

react-native-pretty-toast: a React Native library that morphs toast notifications directly out of the Dynamic Island on iPhone and the camera cutout on Android.

Key features:

  • Dynamic Island and DisplayCutout anchoring, detected automatically
  • Shared toast.show() API across iOS, Android, and Web
  • toast.promise() for automatic loading → success/error transitions
  • Swipe-up dismiss, undo action button, and force-preempt for critical alerts
  • Full accessibility support on native and web
  • Requires React Native 0.76+ with the New Architecture

👉 Blog Post

👉 GitHub Repo

Top comments (0)