Notifications (Master)
Notifications communicate information to the user and provide time-sensitive or immediate feedback.
Variants
Notifications
Variant | Usage |
---|---|
Pending |
Notifications pertaining to pending status/warnings |
Error |
Notifies the user that there is an error detected |
Generic |
Default type of notification, provides contextual information |
Success |
Notifies the user that action taken is a success |
Anatomy
Notifications are made up of the following:
- Icon: Indicates the type of notification it is
- Message: Describes the notification
- Coloured container: Supplements the Icon in indicating the type of notification it is
Size
Notifications:
- Have a 16px padding.
- Takes up up to 87.2% of the screen width, capped at 327px.
Text Style
Notifications consists of only one text size
- Text size at 14px. Use “Body” text style on Figma.
Behavior
Slide in right right to left. slide out from centre to right.
Timing: Each 1 character equals every 100 milliseconds (including spaces). For a short notification that varies between 20 to 30 words, giving 3 seconds as an average reading time is adequate.