- Use a title to concisely present the topic of the banner when the message of the banner is complex and too long to scan.
+Use a title to concisely present the topic of the banner when the message of the banner is complex and too long to scan.
- A title is required and will be used as a semantic page heading. However, you can visually hide the title. It is recommended to hide the title if the body of the banner is short and easily scannable.
+A title is required and will be used as a semantic page heading. However, you can visually hide the title. It is recommended to hide the title if the body of the banner is short and easily scannable.
- Use the built-in accessibility annotations in the Figma components to define the heading level and text relevant to its context.
+Use the built-in accessibility annotations in the Figma components to define the heading level and text relevant to its context.
- If you're on a page in which you can do other tasks, and the banner is not blocking / does not have to be addressed, then you should be able to have a close button.
- If accidental closure of the banner would leave the user confused or missing something critical, it should not have a close button.
+
+ If you're on a page in which you can do other tasks, and the banner is not blocking / does not have to be addressed,
+ then you should be able to have a close button.
+
+
+ If accidental closure of the banner would leave the user confused or missing something critical, it should not have
+ a close button.
+
@@ -200,9 +213,9 @@ Use the following as a guideline:
>
- Critical banners can't be dismissable. They are mostly used for errors which need to be resolved. As a result you can only get rid of a critical banner by resolving the error. If used to warn about destructive actions, the banner should also not be dismissable.
+Critical banners can't be dismissable. They are mostly used for errors which need to be resolved. As a result you can only get rid of a critical banner by resolving the error. If used to warn about destructive actions, the banner should also not be dismissable.
- If the error must be resolved on a different page, use an action that directs the user to the page where the error can be resolved.
+If the error must be resolved on a different page, use an action that directs the user to the page where the error can be resolved.
@@ -225,11 +238,11 @@ Use the following as a guideline:
>
- A maximum of 2 actions can be added to a banner. Whenever possible it is recommended to only add a single action to better direct the users attention.
+A maximum of 2 actions can be added to a banner. Whenever possible it is recommended to only add a single action to better direct the users attention.
- For banners with a single action, you can choose between adding a primary or secondary action depending on how much attention you want to draw to the action.
+For banners with a single action, you can choose between adding a primary or secondary action depending on how much attention you want to draw to the action.
- For banners with two actions, one of them must be primary and the other must be secondary. In this case, use the primary action for the recommended action. For example, the primary action enables a feature and the secondary action links more information.
+For banners with two actions, one of them must be primary and the other must be secondary. In this case, use the primary action for the recommended action. For example, the primary action enables a feature and the secondary action links more information.
+
-
## Layouts
-