11.0.5 • Published 2 months ago

react-toastify v11.0.5

Weekly downloads
559,903
License
MIT
Repository
github
Last release
2 months ago

React-Toastify

Financial Contributors on Open Collective React-toastify CI npm npm NPM Coveralls github

React toastify

stacked

custom-style

šŸŽ‰ React-Toastify allows you to add notifications to your app with ease.

Installation

$ npm install --save react-toastify
$ yarn add react-toastify
  import React from 'react';

  import { ToastContainer, toast } from 'react-toastify';
  
  function App(){
    const notify = () => toast("Wow so easy!");

    return (
      <div>
        <button onClick={notify}>Notify!</button>
        <ToastContainer />
      </div>
    );
  }

Documentation

Check the documentation to get you started!

Features

  • Easy to set up for real, you can make it work in less than 10sec!
  • Super easy to customize
  • RTL support
  • Swipe to close šŸ‘Œ
  • Can choose swipe direction
  • Super easy to use an animation of your choice. Works well with animate.css for example
  • Can display a react component inside the toast!
  • Has onOpen and onClose hooks. Both can access the props passed to the react component rendered inside the toast
  • Can remove a toast programmatically
  • Define behavior per toast
  • Pause toast when the window loses focus šŸ‘
  • Fancy progress bar to display the remaining time
  • Possibility to update a toast
  • You can control the progress bar a la nprogress 😲
  • You can limit the number of toast displayed at the same time
  • Dark mode šŸŒ’
  • Pause timer programmaticaly
  • Stacked notifications!
  • And much more !

Demo

A demo is worth a thousand words

Contribute

Show your ā¤ļø and support by giving a ⭐. Any suggestions are welcome! Take a look at the contributing guide.

You can also find me on reactiflux. My pseudo is Fadi.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Release Notes

You can find the release note for the latest release here

You can browse them all here

License

Licensed under MIT

@quiltt/ui@caravinci/arranger-componentsdusalabssdk@arcanishq/styleguide@energyweb/origin-ui-corecerebro-frontend@bradtech/widgetsxverse-componentsreact-ui-components-libnss-react-libreactjs-99unotemplate-avenue@artibulles-cis/react@fiori-for-react/fiori3@ui5-webcomponents-react/fiori3gamiphy-reactgamiphy-dashboard-reacttaong-grasasvn-controlereact-pathway-mappercarbon-addons-boomerang-reactreact-paytm-createdchorus-componentspwa-feaphrodite-reactsingle-page-appcp-react-shipping-formcp-react-testing1asergis-uiamindbootstrap1amindbootstrapnatbootstrap2@luchmewep/mdbreact@artiweb.artibulles/artiweb-reactartiweb-reactwidget_solnwidget_soln_webpackannotesttannotweannotateimagetestannotatestimgeswarlibtestabbtestiaa@sellics/profitpatterneditortemplate-lastino99uno-react-js299uno-reactjsenotarylog-clientehacellsbento-frontendpops-app-sstvpops-kids-sstvpops-plus-weblumiastreamfreetronicreview-rating@xbotvn/uicheburashka-componentsspfxspfx-testchatpool-webwidgetodge-librubeusgron-uivanilli-shopconquista-componentesers_flowtagwebfrontendreact-starter-ahl-appfinancial-styleguidebasic-ui-designmarykirk-common-componentsreact-basic-design-testcrypticcoin-walletcrypticcoin-wallet-testiot-platform-package@agney/neetoui@devapi/design-systemadalnamskra-islandui@epignosis_llc/gnosis1customizable-react-uidbyzero-testjson-inspector-helperkudi-component-libreactfaberxh-common-pckxinherc1sid-npm-test3sid-npmtest-1sid-npmtest-2sid-test-create-npm@fishbot/test-mui@fishbot/test-react-ui@fishbot/uistorybook-nextjs-npmprotogen-fblearning-analytics-librarymultisys-design-systemonecam-shared
10.0.7-1

5 months ago

10.0.7-2

5 months ago

10.0.7-0

5 months ago

10.0.7-5

5 months ago

10.0.7-3

5 months ago

10.0.7-4

5 months ago

11.0.4-0

3 months ago

11.0.1-react17

4 months ago

11.0.0-0

4 months ago

11.0.4

2 months ago

11.0.5

2 months ago

11.0.2

4 months ago

11.0.3

3 months ago

11.0.0

4 months ago

11.0.1

4 months ago

10.0.6

7 months ago

10.0.5

1 year ago

10.0.4

1 year ago

10.0.2-debug

1 year ago

10.0.3

1 year ago

10.0.0

1 year ago

10.0.1

1 year ago

10.0.2

1 year ago

10.0.0-beta.1

2 years ago

9.1.3

2 years ago

9.1.2

2 years ago

9.1.2-rsc

2 years ago

9.1.1

2 years ago

9.1.0

2 years ago

9.0.8

3 years ago

9.0.7

3 years ago

9.0.6

3 years ago

9.0.5

3 years ago

9.0.4

3 years ago

9.0.3

3 years ago

9.0.2

3 years ago

9.0.6-vite-1

3 years ago

9.0.1

3 years ago

9.0.0

3 years ago

9.0.0-rc-2

3 years ago

9.0.0-rc-1

3 years ago

9.0.0-POC

3 years ago

8.1.1

3 years ago

8.2.0

3 years ago

8.1.0

3 years ago

8.0.3

4 years ago

8.0.2

4 years ago

8.0.0-rc1

4 years ago

8.0.1

4 years ago

8.0.0

4 years ago

7.0.4

4 years ago

7.0.3

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

7.0.0-rc3

4 years ago

7.0.0-rc2

4 years ago

7.0.0-rc1

4 years ago

6.2.0

4 years ago

6.1.0

4 years ago

6.0.9

5 years ago

6.0.7

5 years ago

6.0.8

5 years ago

6.0.6

5 years ago

6.0.5

5 years ago

6.0.4

5 years ago

6.0.3

5 years ago

6.0.2

5 years ago

6.0.1

5 years ago

6.0.0-rc.3

5 years ago

6.0.0

5 years ago

6.0.0-rc.2-1

5 years ago

6.0.0-rc.2

5 years ago

6.0.0-rc.1

5 years ago

6.0.0-rc.0

5 years ago

5.5.0

5 years ago

5.4.1

5 years ago

5.4.0

6 years ago

5.3.2

6 years ago

5.3.1

6 years ago

5.3.0

6 years ago

5.2.1

6 years ago

5.2.0

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.1

6 years ago

5.0.1-rc.1

6 years ago

5.0.0

6 years ago

5.0.0-rc.6

6 years ago

5.0.0-rc.5

6 years ago

5.0.0-rc.4

6 years ago

5.0.0-rc.3

6 years ago

5.0.0-rc.2

6 years ago

5.0.0-rc.1

6 years ago

4.5.2

6 years ago

4.5.1

6 years ago

4.5.0

6 years ago

4.5.0-rc.1

6 years ago

4.4.3

6 years ago

4.4.2

6 years ago

4.4.1

6 years ago

4.4.0

7 years ago

4.3.2

7 years ago

4.3.1

7 years ago

4.3.0

7 years ago

4.2.3

7 years ago

4.2.2

7 years ago

4.2.1

7 years ago

4.2.0

7 years ago

4.1.0

7 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

4.0.0-rc.6

7 years ago

4.0.0-rc.5

7 years ago

4.0.0-rc.4

7 years ago

4.0.0-rc.3

7 years ago

4.0.0-rc.2

7 years ago

4.0.0-rc.1

7 years ago

4.0.0-rc.0

7 years ago

3.4.3

7 years ago

3.4.2

7 years ago

3.4.1

7 years ago

3.4.0

7 years ago

3.3.5

7 years ago

3.3.4

7 years ago

3.3.3

7 years ago

3.3.2

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.2

7 years ago

3.2.1

7 years ago

3.2.0

7 years ago

3.1.2

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.2.2

7 years ago

3.0.0-beta-1

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.7

7 years ago

2.1.6

7 years ago

2.1.5

8 years ago

2.1.4

8 years ago

2.1.3

8 years ago

2.1.2

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.0

8 years ago

2.0.0-rc.3

8 years ago

2.0.0-rc.2

8 years ago

2.0.0-rc.1

8 years ago

1.7.0

8 years ago

1.6.0

8 years ago

1.5.0

8 years ago

1.4.3

8 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago