The SuccessNotification container displays a message to the user after a successful action, such as signing up or updating a password. The SignIn, SignUp, and UpdatePassword containers can pass the SuccessNotification container as a slot.
In the following diagram, a SignIn container has passed the SuccessNotification container, which defines the displayed text and action buttons.
SuccessNotification container
SuccessNotification configurations
The SuccessNotification container provides the following configuration options:
Options
Type
Req?
Description
slots
function
No
Allows overriding the SuccessNotification container action buttons (SuccessNotificationActions).
formSize
default | small
No
Controls form paddings and spacing. Use "small" to embed the form in small layout containers like a dropdown in the header.
headingText
string
No
Heading text content.
messageText
string
No
Message text content.
Example
The following example renders the SignIn container. On success, the container displays a welcome heading, a message, and two action buttons: “My Account” and “Logout”.