Card
An article or section labeled by its own heading, with an optional actions row.
A grouped surface names itself with its own heading.
Each preview is its own Live page in a frame, because this site is a Vue 3.5 app built on the Pulsar starter kit. An open list or popover stays inside its frame; in your application it opens over the page.
Installation
suprnova live:add cardUsage
{% import "suprnova-ui/card/card.html" as card %}
{% call card::card("release", "Release notes") %}<p>Shared theme tokens.</p>{% endcall %}Examples
Section with links
Two real links sit in a labeled actions row inside the section.
Keyboard and accessibility
suprnova.card - a grouped surface with an explicit heading (DATA-001). A card is an article or a section labeled by its own heading; actions are real links or buttons in the actions row, and the card never wraps itself in one link.
API reference
card
| Parameter | Default | Description |
|---|---|---|
id | Required | The unique article or section id, also used for its heading. |
heading | Required | The text of the heading that labels this card. |
level | 2 | The heading level: 2 or 3. |
kind | "article" | The semantic container: article or section. |
card_actions
| Parameter | Default | Description |
|---|---|---|
label | "Actions" | The accessible name of the actions group. |
