Card
<vox-card> is a feature tile in the style of the OpenVox docs landing page. With href the whole card becomes one link.
Basic
html
<vox-card heading="OpenVox Server" href="https://docs.openvoxproject.org">
<span slot="icon">⚙️</span>
Installation and configuration of the server components.
</vox-card>Badge
Use the badge slot to place a badge or label in the top-right corner of the card.
html
<vox-card heading="Design Patterns">
<span slot="icon">🧱</span>
<vox-badge slot="badge" variant="danger">Pro</vox-badge>
Grab-and-go patterns for common site, app, and online product workflows.
</vox-card>Footer
Use the footer slot for content that should stay pinned to the bottom of the card, e.g. stats, regardless of how much body text precedes it. Cards in the same row line up their footers even when body length varies.
html
<vox-card heading="puppetdb">
<span slot="badge">8.1.0</span>
Installs PostgreSQL and PuppetDB, sets up the connection to Puppet master.
<span slot="footer">313,347,865 downloads</span>
</vox-card>API
| Attribute | Type | Default | Description |
|---|---|---|---|
heading | string | '' | Card title |
href | string | — | Makes the card a link |
target | string | — | Link target |
| Slot | Description |
|---|---|
| (default) | Body text |
icon | Icon or emoji above the heading |
badge | Badge or label in the top-right corner |
footer | Content pinned to the bottom of the card |