Gathering detailed insights and metrics for react-native-simple-toast
Gathering detailed insights and metrics for react-native-simple-toast
Gathering detailed insights and metrics for react-native-simple-toast
Gathering detailed insights and metrics for react-native-simple-toast
@react-native-oh-tpl/react-native-simple-toast
Cross-platform Toast experience for React Native
react-native-simple-toast-message
Simple toast library for react native
@newbanker/react-native-simple-toast
Simple Toast for react-native. In Android it's just native toast, in iOS it's https://github.com/scalessec/Toast
react-native-web-simple-toast
react-native-simple-toast for Web
Cross-platform Toast experience for React Native
npm install react-native-simple-toast
Typescript
Module System
Min. Node Version
Node Version
NPM Version
Objective-C++ (23.2%)
TypeScript (22.11%)
Java (21.11%)
Objective-C (20.16%)
Ruby (7.71%)
JavaScript (5.24%)
C (0.29%)
Swift (0.18%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
326 Stars
104 Commits
36 Forks
2 Watchers
4 Branches
12 Contributors
Updated on Jul 08, 2025
Latest Version
3.3.2
Package Id
react-native-simple-toast@3.3.2
Unpacked Size
52.51 kB
Size
18.20 kB
File Count
31
NPM Version
10.9.0
Node Version
22.11.0
Published on
Jan 03, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
19
React Native Toast component for both Android and iOS. It just lets iOS users have the same toast experience as on Android. Using scalessec/Toast on iOS and the React Native's ToastAndroid on Android.
✅ supports both old and new architecture (RN >= 0.71 is required for new arch)
✅ extremely simple fire-and-forget api, same as ToastAndroid
✅ renders on top of Modal
s and Alert
s
✅ avoids keyboard
✅ customizable styling
1yarn add react-native-simple-toast 2cd ios && pod install
then rebuild your project
the module exposes the following functions, same as ToastAndroid
, with extra configuration parameter for iOS only:
1import Toast from 'react-native-simple-toast';
2
3Toast.show(message, duration, options);
4
5Toast.showWithGravity(message, duration, gravity, options);
6
7Toast.showWithGravityAndOffset(
8 message,
9 duration,
10 gravity,
11 xOffset,
12 yOffset,
13 options,
14);
exported duration and positioning constants:
1import Toast from 'react-native-simple-toast'; 2 3Toast.LONG; 4Toast.SHORT; 5Toast.TOP; 6Toast.BOTTOM; 7Toast.CENTER;
Please note that yOffset
and xOffset
are ignored on Android 11 and above.
For customizing on iOS, you can pass an object with the following properties:
1type OptionsIOS = { 2 textColor?: ColorValue; 3 backgroundColor?: ColorValue; 4 tapToDismissEnabled?: boolean; 5};
1import Toast from 'react-native-simple-toast'; 2 3Toast.show('This is a short toast'); 4 5Toast.show('This is a long toast.', Toast.LONG); 6 7Toast.showWithGravity( 8 'This is a long toast at the top.', 9 Toast.LONG, 10 Toast.TOP, 11); 12 13Toast.show('This is a styled toast on iOS.', Toast.LONG, { 14 backgroundColor: 'blue', 15}); 16 17Toast.show('This is a toast that can be dismissed (iOS only).', Toast.LONG, { 18 tapToDismissEnabled: true, 19});
MIT
Made with create-react-native-library
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 5/23 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More