Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions content/components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ Add a `horizontal` property to a card to make it horizontally displayed.
Here is an example of a horizontal card
</Card>

### Image Card

Add an `img` property to a card to display an image on the top of the card.

<Card title="Image Card" img="/images/card-with-image.png">
Here is an example of a card with an image
</Card>

## Props

<ResponseField name="title" type="string" required>
Expand Down
Binary file added images/card-with-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.