We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Card
img
1 parent 9780b5b commit fbf2729Copy full SHA for fbf2729
content/components/cards.mdx
@@ -18,6 +18,12 @@ icon: "rectangle"
18
</Card>
19
```
20
21
+```jsx Image Card Example
22
+<Card title="Image Card" img="/images/card-with-image.png">
23
+ Here is an example of a card with an image
24
+</Card>
25
+```
26
+
27
</RequestExample>
28
29
### Horizontal Card
@@ -28,6 +34,14 @@ Add a `horizontal` property to a card to make it horizontally displayed.
34
Here is an example of a horizontal card
35
30
36
37
+### Image Card
38
39
+Add an `img` property to a card to display an image on the top of the card.
40
41
42
43
44
31
45
## Props
32
46
33
47
<ResponseField name="title" type="string" required>
images/card-with-image.png
8.97 KB
0 commit comments