10.0.5 ā€¢ Published 1 month ago

react-toastify v10.0.5

Weekly downloads
559,903
License
MIT
Repository
github
Last release
1 month ago

React-Toastify

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

React toastify

stacked

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

Installation

$ npm install --save react-toastify
$ yarn add react-toastify

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 !

The gist

  import React from 'react';

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

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

Demo

A demo is worth a thousand words

Documentation

Check the documentation to get you started!

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@plone/volto@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-system
10.0.5

1 month ago

10.0.4

3 months ago

10.0.2-debug

3 months ago

10.0.3

3 months ago

10.0.0

3 months ago

10.0.1

3 months ago

10.0.2

3 months ago

10.0.0-beta.1

9 months ago

9.1.3

12 months ago

9.1.2

1 year ago

9.1.2-rsc

12 months ago

9.1.1

1 year ago

9.1.0

1 year ago

9.0.8

2 years ago

9.0.7

2 years ago

9.0.6

2 years ago

9.0.5

2 years ago

9.0.4

2 years ago

9.0.3

2 years ago

9.0.2

2 years ago

9.0.6-vite-1

2 years ago

9.0.1

2 years ago

9.0.0

2 years ago

9.0.0-rc-2

2 years ago

9.0.0-rc-1

2 years ago

9.0.0-POC

2 years ago

8.1.1

2 years ago

8.2.0

2 years ago

8.1.0

2 years ago

8.0.3

3 years ago

8.0.2

3 years ago

8.0.0-rc1

3 years ago

8.0.1

3 years ago

8.0.0

3 years ago

7.0.4

3 years ago

7.0.3

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

7.0.0-rc3

3 years ago

7.0.0-rc2

3 years ago

7.0.0-rc1

3 years ago

6.2.0

3 years ago

6.1.0

3 years ago

6.0.9

4 years ago

6.0.7

4 years ago

6.0.8

4 years ago

6.0.6

4 years ago

6.0.5

4 years ago

6.0.4

4 years ago

6.0.3

4 years ago

6.0.2

4 years ago

6.0.1

4 years ago

6.0.0-rc.3

4 years ago

6.0.0

4 years ago

6.0.0-rc.2-1

4 years ago

6.0.0-rc.2

4 years ago

6.0.0-rc.1

4 years ago

6.0.0-rc.0

4 years ago

5.5.0

4 years ago

5.4.1

4 years ago

5.4.0

5 years ago

5.3.2

5 years ago

5.3.1

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.1

5 years ago

5.1.0

5 years ago

5.0.1

5 years ago

5.0.1-rc.1

5 years ago

5.0.0

5 years ago

5.0.0-rc.6

5 years ago

5.0.0-rc.5

5 years ago

5.0.0-rc.4

5 years ago

5.0.0-rc.3

5 years ago

5.0.0-rc.2

5 years ago

5.0.0-rc.1

5 years ago

4.5.2

5 years ago

4.5.1

5 years ago

4.5.0

5 years ago

4.5.0-rc.1

5 years ago

4.4.3

5 years ago

4.4.2

5 years ago

4.4.1

5 years ago

4.4.0

6 years ago

4.3.2

6 years ago

4.3.1

6 years ago

4.3.0

6 years ago

4.2.3

6 years ago

4.2.2

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.1.0

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

4.0.0-rc.6

6 years ago

4.0.0-rc.5

6 years ago

4.0.0-rc.4

6 years ago

4.0.0-rc.3

6 years ago

4.0.0-rc.2

6 years ago

4.0.0-rc.1

6 years ago

4.0.0-rc.0

6 years ago

3.4.3

6 years ago

3.4.2

6 years ago

3.4.1

6 years ago

3.4.0

6 years ago

3.3.5

6 years ago

3.3.4

6 years ago

3.3.3

6 years ago

3.3.2

6 years ago

3.3.1

6 years ago

3.3.0

6 years ago

3.2.2

6 years ago

3.2.1

6 years ago

3.2.0

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.0

6 years ago

2.2.2

6 years ago

3.0.0-beta-1

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.7

6 years ago

2.1.6

6 years ago

2.1.5

7 years ago

2.1.4

7 years ago

2.1.3

7 years ago

2.1.2

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

2.0.0-rc.3

7 years ago

2.0.0-rc.2

7 years ago

2.0.0-rc.1

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.4.3

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago