Description
react-notifications is a notification component for React that shows short popup messages, such as info, success, warning and error alerts. You add a single NotificationContainer to your app and then call NotificationManager from anywhere to show a message. Each call takes a message, an optional title, a timeout in milliseconds, a click callback and a priority flag that puts the message at the top of the stack. The package installs from npm. For a bundler such as Webpack you import its CSS, and a UMD build is provided for plain pages. The container has enterTimeout and leaveTimeout props, each defaulting to 400 milliseconds, so you can tune the animation. The README stresses that only one NotificationContainer should be used in an app. The repository has a demo and an example folder for seeing it in action.…
Highlights
- Info, success, warning and error notifications
- One container, called from anywhere through a manager
- Optional title, timeout and click callback
- Priority flag to put a message at the top
- Works with Webpack or a UMD build
Ratings & Reviews
No ratings yet
Be the first to rate react-notifications.
People also visit

react-notifications-component
React component for creating notifications on the fly
react-notifications FAQ
What is react-notifications?
A notification component for React that shows short popup messages with an optional title, a timeout and a click action.
How do I install it?
Install it from npm, then import the CSS for your bundler or use the UMD build if you do not use one. The README has the import steps.
How many containers should I use?
Only one NotificationContainer per app. Messages are then sent to it through the NotificationManager methods.
Which message types are there?
info, success, warning and error, each a NotificationManager method that takes a message, title, timeout, callback and priority.
Can I change the animation timing?
Yes. The container accepts enterTimeout and leaveTimeout props, each defaulting to 400 milliseconds.
What are the best react-notifications alternatives?
Popular alternatives to react-notifications include react-notification-system, react-toastify and react-notifications-component. See all react-notifications alternatives


















