Card Title
This is the card content.
About 222 wordsLess than 1 minute
2025-03-24
To highlight content, place it in a card container ::: card
.
To display multiple cards side by side when space allows, use the card-grid
container around multiple cards.
<!-- Single card -->
::: card title="Title" icon="twemoji:astonished-face"
This is the card content.
:::
<!-- Multiple cards -->
:::: card-grid
::: card title="Card Title 1" icon="twemoji:astonished-face"
This is the card content.
:::
::: card title="Card Title 2" icon="twemoji:astonished-face"
This is the card content.
:::
::::
Cards support optional title
and icon
. The icon can be an image URL or an Iconify icon name.
Input:
::: card title="Card Title" icon="twemoji:astonished-face"
This is the card content.
:::
Output:
Card Title
This is the card content.
Input:
:::: card-grid
::: card title="Card Title 1" icon="twemoji:astonished-face"
This is the card content.
:::
::: card title="Card Title 2" icon="twemoji:astonished-face"
This is the card content.
:::
::::
Output:
Card Title 1
This is the card content.
Card Title 2
This is the card content.
Info
If you prefer to use cards via components, you can check out the Card Component.