# Notifications.

Notifications include short hints and feedback messages. They inform about states, successes, errors or warnings, for example in the form of [notification banners](https://digital.sbb.ch/en/design-system/lyne/components/notification) or [dialogs](https://digital.sbb.ch/en/design-system/lyne/components/dialog).

The goal is to create clarity, remove uncertainty for users and show them what has happened and what to do next.

Recommendations:

- **Draw attention to critical actions.** For serious or irreversible actions, use confirmation dialogs (Are you sure you want to delete this?).
- **Explain what happens next.** After actions such as submitting a form, make it clear when and through which channel a response will be provided.
- **Make errors fixable.** Error messages should show how the problem can be resolved.
- **Use punctuation deliberately.** For error messages on input fields, do not use a full stop unless it is a complete sentence.
- **Allow actions to be undone.** Offer the option to undo critical changes or deleted content, for example via an “Undo” option in toasts.

#### Notification.

 ![Example for a Message within a notification](https://digital.sbb.ch/assets/images/ux-writing/en/notification_light.webp "Notification Notification")

You do not have permission to perform this action.

Thank you for your request.  
We have received your message and will get back to you within 3 business days.  
You will receive the reply by email.

Your changes could not be saved. Please try again.

Caution!!!

Saved successfully. You can now continue.

[Go to component](https://digital.sbb.ch/en/design-system/lyne/components/notification/)

#### Toast.

 ![Example for a notification within a toast](https://digital.sbb.ch/assets/images/ux-writing/en/toast_light.webp "Notification Toast")

Password changed

List deleted. Undo

Password change confirmation

Username successfully updated.

[Go to component](https://digital.sbb.ch/en/design-system/lyne/components/toast/)

#### Dialog.

 ![Example for a notification within a dialog](https://digital.sbb.ch/assets/images/ux-writing/en/dialog_light.webp "Notification Dialog")

Delete entry?  
Do you want to permanently delete this entry?  
This action cannot be undone.

Are you sure you want to do this?  
OK and Cancel (as actions)

[Go to component](https://digital.sbb.ch/en/design-system/lyne/components/dialog/)

#### Error (Form-Field).

 ![Example for a notification within a formfield](https://digital.sbb.ch/assets/images/ux-writing/en/time_input_light.webp "Notification input field")

Enter a valid time (HH:MM)

Enter a valid format

Invalid value

[Go to component](https://digital.sbb.ch/en/design-system/lyne/components/form-field/)

#### Message.

 ![Example for a message with image](https://digital.sbb.ch/assets/images/ux-writing/en/message_with_image_light.webp "message with image")

The page you are looking for no longer exists or has been moved.

Access denied. You do not have permission to view this page.  
Contact example@sbb.ch

Unfortunately, an error has occurred.

Access denied

Error Code 401

Oops! Something went wrong.

[Go to component](https://digital.sbb.ch/en/design-system/lyne/components/message/)

---

Source: https://digital.sbb.ch/en/foundation/language/notifications/
