Structured content card
Group a title, description, content, and supporting actions.
Supporting content belongs inside the default slot.
page CardExample {
state headerActions = []
state navigation = []
state items = []
view {
<Card
title="Citizen service"
description="Access a trusted online service."
headerActions="{headerActions}"
navigation="{navigation}"
items="{items}">
<div data-slot="header">
<div class="showcase-slot">header slot</div>
</div>
<p class="showcase-card-copy">Supporting content belongs inside the default slot.</p>
<div data-slot="footer">
<div class="showcase-slot">footer slot</div>
</div>
</Card>
}
}