Live demo
Demo source
The notification container holds nv-notification elements and places them
in a corner of the viewport. position takes top-right (the default),
top-left, top-center, bottom-right, bottom-left or bottom-center.
Notifications also slide out towards the nearest edge when they close.
The React, Vue, Angular and Blazor notification providers render a container for you; set its position when you configure the provider. In plain HTML, place one container on the page and add notifications to it.
For guidance on content and behaviour, see the notification overview.
Content and dismissal
The notification design covers the messages inside this stack, rather than a separate container anatomy. Choose a corner or centred edge that does not hide the task's controls, and use short non-blocking messages with one clear action. Important information that must remain available belongs in an in-page alert.
The container only positions its children. It neither creates notifications
nor supplies an automatic dismissal timer. Set duration through the
framework provider when a routine confirmation should disappear; configure
dismissible on individual notifications for a manual close control.