{{ aspExample({ code: "", nunjucks: "{{ aspCard({
rows: [
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 1 title\",
text: 'Card 1 text. modifier: [\"medium-one-third\"]',
image: {
src: \"https://media.aspolice.net/uploads/production/20220302105928/PCs-web-recruitment-page\"
},
meta: {
href: \"#\",
category: \"Category\",
date: \"Date. j F Y\"
}
},
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 2 title\",
text: 'Card 1 text. modifier: [\"medium-one-third\"]',
meta: {
href: \"#\",
category: \"Category\",
date: \"3 August 2024\"
}
},
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 3 title\",
text: 'Card 1 text. modifier: [\"medium-one-third\"]',
meta: {
href: \"#\",
category: \"Category\",
date: \"3 August 2024\"
}
}
]
}) }}", json: "", title: "", example: "", id: "65a92b83efc16" }) }} {{ aspExample({ code: "", nunjucks: "{{ aspCard({
rows: [
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 1 title\",
image: {
src: \"https://media.aspolice.net/uploads/production/20220302105928/PCs-web-recruitment-page\"
}
},
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 2 title\"
},
{
modifier: [\"medium-one-third\"],
href: \"#\",
title: \"Card 3 title\"
}
]
}) }}", json: "", title: "", example: "", id: "66bb5e5b988d2" }) }}

WIP – Mention skeleton loading

Alias

What was known as a card component on the ‘frontend’ is now a signage component.
Previously known as a story component on the ‘citizen site’.

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="status">Not started</span>'}
]
},
{
cells: [
{ text: 'WCAG 2.1 compliant'},
{ html: '<span class="status status–green">Completed</span>'}
]
},
{
cells: [
{ text: 'HTML / Nunjucks version'},
{ html: '<span class="status status–green">Completed</span>'}
]
},
{
cells: [
{ text: 'Figma version'},
{ html: '<span class="status status">Not started</span>'}
]
},
{
cells: [
{ text: 'M365 versions'},
{ html: '<span class="status status–green">Completed</span>'}
]
},
{
cells: [
{ text: 'Documentation'},
{ html: '<span class="status status–yellow">In progress</span>'}
]
}
]
}) }}