Notification


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.

Default

The default variant should be used to display global messages.

View example of the default notification pattern

Caution

The caution variant should be used to convey information that is not critical but the user should be aware of.

View example of the caution notification pattern

Negative

The negative variant should be used to convey information that is critical and the user should take action.

View example of the negative notification pattern

Positive

The positive variant should be used to convey success or completion.

View example of the positive notification pattern

Information

The information variant should be used to convey an information message.

View example of the information notification pattern

Actions

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.

View example of the caution notification pattern

Design

For more information view the notification design spec which includes the specification in markdown format and a PNG image.