The action component highlights important or crucial content to users, suggesting when they may need to complete an action.
The component displays content in a different coloured box, depending on the urgency of the action needed.
{{ aspExample({ code: "", nunjucks: "", json: "", title: "", example: "default", id: "65a929bc0055c" }) }} {{ aspExample({ code: "", nunjucks: "", json: "", title: "", example: "urgent", id: "65a929bc00598" }) }}Use this component to help users understand they may need to complete an action.
Depending on the urgency of the action needed, you may use:
The component should be used for clear and concise messages where an action may be needed. It should not be used for longer messages as this can add unnecessary length to the page.
Avoid using this component multiple times next to each other as this can make the page difficult to scan and may confuse the user as to which message is important.
This component is used on:
This list is not exhaustive.
The below criteria all need to be met for a component to be considered as fully developed for use within the ASP Digital Design System.
| Development criteria | Status |
|---|---|
| WCAG 2.2 compliant | Not started |
| WCAG 2.1 compliant | Completed |
| HTML / Nunjucks version | Completed |
| Figma version | Not started |
| M365 versions | Completed |
| Documentation | In progress |
Suggest an edit to this system, or any of the components in it, by submitting a Design System change request.