Skip to content

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

⚙️ Installation and configuration of the server components. 💾 Store and query infrastructure data. Cards without an href render as static tiles.
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.

🧱Pro Grab-and-go patterns for common site, app, and online product workflows. 8.1.0 Installs PostgreSQL and PuppetDB, sets up the connection to Puppet master.
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>

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.

8.1.0 Installs PostgreSQL and PuppetDB, sets up the connection to Puppet master. 313,347,865 downloads12.0.1 Installs and configures Apache HTTP Server, including virtual hosts, modules, and SSL/TLS settings for websites. 204,981,112 downloads
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

AttributeTypeDefaultDescription
headingstring''Card title
hrefstringMakes the card a link
targetstringLink target
SlotDescription
(default)Body text
iconIcon or emoji above the heading
badgeBadge or label in the top-right corner
footerContent pinned to the bottom of the card

Released under the Apache-2.0 License.