Open Modal Windows and Notifications

A component can use Lightning base components to open new modal windows for general purposes, and notification modals that are styled for more specialized uses.

Use notification modals to alert users, request confirmation from them, prompt a response, or simply provide information.

Most Lightning base components have HTML tags that you nest in your custom component's template. The components you use to create modal windows are different. You use them by extending them to your component class.