Notifications are used to display global information, our notification variants consist of default, caution, negative or positive.
You can also include a close button using the
p-icon--close pattern, although you will need to implement the click function yourself.
The default variant should be used to display global messages.
The caution variant should be used to convey information that is not critical but the user should be aware of.
The negative variant should be used to convey information that is critical and the user should take action.
The positive variant should be used to convey success or completion.
The information variant should be used to convey an information message.
Notifications have the ability to add an action link to them. These should appear inline with the notification response and will add a margin between the link and content.
Note:All functionality must be developed independently.
For more information view the notification design spec which includes the specification in markdown format and a PNG image.