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.

Caution

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

Negative

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

Positive

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

Information

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

Actions

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.

Import

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.

Design

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