Need help in intergrating NPM toast notifications

I found beautiful notifications and try to implement it.

Install NPM with extension and then put div with html block inside of it that says:
< div >< Toaster/ >< /div >

Then run JS code (toast.success(‘Successfully toasted!’).

And nothing worked :frowning:

I think many apps need something like this so it will be useful for many people to figure out this question. :slight_smile:

This is a react component and needs to run in the context of a react app, which weweb is not. There is a path to making a react app that embeds within your weweb environment and triggering that, but I suspect that’s more code that you really want.

You might check out Toastify JS - Pure JavaScript Toast Notificaton Library that does not require a framework.