I would like to show a notification in Lightning component that is acceded via Lightning Out in Site, I cannot use Toast messages. The message that I want to show are on success and on error.

Any suggestion on this?


You can create your own toast notifications (via a component). For example, you can grab this component and use that as your toast notification. Others have certainly implemented this, too, this is just one of many you can find out there. Or, you can write your own component, as it's basically just copy-paste from the SLDS documentation.

  • Thank you master! – AjFmO May 1 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.