The action component highlights important or crucial content to users, suggesting when they may need to complete an action.

Design preview and code implementation

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" }) }}

When to use this component

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:

When not to use this component

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.

Example of where we have used this component

This component is used on:

This list is not exhaustive.

Status of development

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

Make a change to the Design System

Suggest an edit to this system, or any of the components in it, by submitting a Design System change request.