Menu

react-native-pretty-toast: Dynamic Island Toast Notifications for iOS & Android
πŸ“°
0

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

DEV CommunityΒ·jQueryScriptΒ·about 1 month ago
#HinOuRaE
#webdev#react#reactnative#software#native#toast
Reading 0:00
15s threshold
Cover image for react-native-pretty-toast: Dynamic Island Toast Notifications for iOS & Android

jQueryScript

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

Read More