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 will appear inline with the notification response.

Note:All functionality must be developed independently.


To import just this component into your project, copy the snippet below and include it in your main Sass file.

@import 'patterns_notifications';
@include vf-p-notification;

For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.


You can use notifications in React by installing our react-component library and importing Notification component.

See the documentation for our React Notification component