diff --git a/docs/docs/components/card.md b/docs/docs/components/card.md index 222e5b8d5..54b8ba6e3 100644 --- a/docs/docs/components/card.md +++ b/docs/docs/components/card.md @@ -6,7 +6,7 @@ icon: card --- ```html {.example} - + +
Header Title @@ -97,10 +97,10 @@ If using SSR, you need to also use the `with-header` attribute to add a header t ### Card with Footer Footers can be used to display actions, summaries, or other relevant content. -If using SSR, you need to also use the `with-footer` attribute to add a footer to the card (if not, it is added automatically). +If using SSR, you need to also use the `ssr-slots` attribute to add a footer to the card (if not, it is added automatically). ```html {.example} - + This card has a footer. You can put all sorts of things in it!
@@ -125,10 +125,10 @@ If using SSR, you need to also use the `with-footer` attribute to add a footer t ### Images Card images are displayed atop the card and will stretch to fit. -If using SSR, you need to also use the `with-image` attribute to add an image to the card (if not, it is added automatically). +If using SSR, you need to also use the `ssr-slots` attribute to add an image to the card (if not, it is added automatically). ```html {.example} - + - + This is a small card.
@@ -159,7 +159,7 @@ Use the `size` attribute to change a card's size.
- + This is a medium card (default).
@@ -168,7 +168,7 @@ Use the `size` attribute to change a card's size.
- + This is a large card.