The Panel component is a full-width section used to highlight content that sits outside the main content of a page.

The component helps draw attention to supporting information such as a feature, related guidance, or supplementary detail without interrupting the primary page flow.

{{ aspExample({ code: "", nunjucks: "", json: "", title: "", example: "default", id: "6a3021bee8175" }) }} {{ aspExample({ code: "", nunjucks: "", json: "", title: "", example: "text", id: "6a3021bee822a" }) }}

When to use this component

Use the Panel component when you need to present content that is related to the page but separate from the main body of information. This includes:

The purpose of the component is to give content a distinct visual treatment so users can easily distinguish supplementary sections from the main page content.

When not to use this component

Do not use the Panel component for critical warnings, errors, or time-sensitive information.

Use a notification or alert component instead when content requires immediate attention or conveys severity.

Before using this component, consider:

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.


{{ aspTable({
head: [
{ text: 'Development criteria'},
{ text: 'Status'}
],
rows: [
{
cells: [
{ text: 'WCAG 2.2 compliant'},
{ html: '<span class="asp-status">Not started</span>'}
]
},
{
cells: [
{ text: 'WCAG 2.1 compliant'},
{ html: '<span class="asp-status asp-status–green">Completed</span>'}
]
},
{
cells: [
{ text: 'HTML / Nunjucks version'},
{ html: '<span class="asp-status asp-status–green">Completed</span>'}
]
},
{
cells: [
{ text: 'Figma version'},
{ html: '<span class="asp-status">Not started</span>'}
]
},
{
cells: [
{ text: 'M365 versions'},
{ html: '<span class="asp-status">Not started</span>'}
]
},
{
cells: [
{ text: 'Documentation'},
{ html: '<span class="asp-status">Not started</span>'}
]
}
]
}) }}