Notification

Use notifications to tell users about the results of an action

Notifications have a heading and extra optional text field to include additional information

There are 4 types of notification

 

Notification illustration 1

1. Info

Notification illustration 2

2. Success

Notification illustration 3

3. Warning

Notification illustration 4

4. Error


Usage

Notification usage illustration 1

Notifications should be used to give users immediate, non-critical feedback on the outcome or status of an action. Examples include:

  • Successful form submission
  • A change in tariff has not completed successfully
  • The OVO products have planned maintenance and down-time soon
Notification usage illustration 2

For longer multi-sentence notification messages, use the additional text field to include details.

 

Notification usage illustration 4

Use an info notification to give users extra info that might not be linked to their current action

Notification usage illustration 5

Use a success notification to let the user know that an action has been completed as expected.

Notification usage illustration 6

Use a warning notification to let the user know that their action might have undesirable or unexpected results.

Notification usage illustration 7

Use an error notification to let the user know that their action produced an error or critical failure.


Writing a notification

  • Describe what went wrong and what the user should do next
  • Not everyone can see the colour of the component; write clear status messages that stand alone.

Available platforms

Platform

Available

Figma

v1+

Web (@ovotech/element)

v1+

App (@ovotech/element-native)

v1+