> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/content-designers/building-pages-with-drupal-canvas/component-catalog/card-components.md).

# Card Components

Cards combine a picture, a heading, a line of text and a link. They are the most used components on landing pages. Use one card style per row, and keep the text of cards in a row the same length.

| Card                 | Best for                                               |
| -------------------- | ------------------------------------------------------ |
| **Card**             | A simple picture, title, text and link                 |
| **Featured Card**    | A large image beside free content, for one highlight   |
| **Card Icon**        | Services or features with an icon instead of a photo   |
| **Impressed Card**   | Stacked image and content, with a label over the image |
| **Card Logo**        | Partner and client logos                               |
| **Overlay Card**     | Text over a full image                                 |
| **Pricing card**     | Plans and prices                                       |
| **Testimonial card** | Customer quotes                                        |
| **Text Card**        | Short text blocks, optionally with a small icon image  |

## Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-acbde4fe535b448b98838aaccab8550f2eaf25bb%2Fcanvas-component-card.png?alt=media" alt="A card with a photo of three colleagues at a computer, the title This Is Your Card Title and a short description"><figcaption><p>A Card With the Image on Top</p></figcaption></figure>

* **Key settings**: **Layout** (image on top, start, end or bottom), **Heading**, **Description**, **Image** and **Image ratio**, **Background theme**, **Shadow**, **Add padding**, **Link URL (optional)**, **Button label (optional)** and **Button style**.
* **Tip**: with a **Link URL** and no button label, the whole card is the link. Add a button label to show a button instead.

## Featured Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-ac9c3a095d0ef962106cff7b21001e442fc924fc%2Fcanvas-component-card-featured.png?alt=media" alt="A featured card with a photo of two people at laptops on the left and a title, a description and a Call to action button on the right"><figcaption><p>A Featured Card</p></figcaption></figure>

* **Key settings**: **Media position** (start, end or no media), **Media upload**, **Image ratio (crop)**, **Image fit**, **Card Border**, **Border radius**, **Padded**, **Equal height**, **Stretched link** with **Card link URL**, **Content vertical alignment**, **Gutters Between**, and the image and content split for each screen size (such as 50% and 50%, or 33% and 67%).
* **Slots**: **Media overlay** (a badge over the image) and **Card content** (headings, text, buttons).

## Card Icon

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-25c46bcbf6111a9e67a4a46177b71dbb7de8564d%2Fcanvas-component-card-icon.png?alt=media" alt="A card with a small people icon above the heading Your Heading Here and a line of placeholder text"><figcaption><p>A Card Icon</p></figcaption></figure>

* **Key settings**: **Heading**, **Description**, **Text alignment**, **Icon (optional)** and **Icon size**, **Background theme**, **Shadow**, **Add padding**, **Link URL (optional)**, **Button label (optional)** and **Button style**.
* **Tip**: the **Feature Cards** pattern is a ready row of three.

## Impressed Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-1f14fe97cff355c4145c12053ebe5c926f87bfbf%2Fcanvas-component-card-impressed.png?alt=media" alt="An impressed card with a large photo of three smiling people at a laptop, a title, a short description and two small labels"><figcaption><p>An Impressed Card</p></figcaption></figure>

* **Key settings**: **Media position** (top or bottom), **Media upload**, **Image ratio (crop)**, **Image fit**, **Card border**, **Background color**, **Padded**, **Shadow**, **Corner style**, **Equal height**, **Stretched link** with **Card link URL**.
* **Slots**: **Media overlay** and **Card content**.

## Card Logo

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-90e81fb826b9b4cc5cf538fc6dd3a55e061bb86f%2Fcanvas-component-card-logo.png?alt=media" alt="A logo card showing the Varbase logo"><figcaption><p>A Card Logo</p></figcaption></figure>

* **Key settings**: **Logo image**, **Link URL (optional)**, **Shadow**, **Alignment**.
* **Tip**: give each logo alt text with the organisation's name.

## Overlay Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-e157f47f147bcef276c09e7ef82f3790be538f82%2Fcanvas-component-card-overlay.png?alt=media" alt="An overlay card with the title Overlay Card Title, a line of text and a Read more link over a dimmed photo of people at work"><figcaption><p>An Overlay Card</p></figcaption></figure>

* **Key settings**: **Media upload**, **Image ratio (crop)**, **Image fit**, **Padded**, **Shadow**, **Overlay color** and **Overlay opacity**, **Horizontal alignment** and **Vertical alignment**, **Equal height**, **Stretched link** with **Card link URL**.
* **Slots**: **Card content**.
* **Tip**: make sure the text stays readable over the lightest part of the image.

## Pricing Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-57109b703bd593d900fe705aa948c059e066cd2e%2Fcanvas-component-card-pricing.png?alt=media" alt="A highlighted pricing card with a Most popular badge, the plan name Pro, a price of 79 per month billed annually, three features and a Get started button"><figcaption><p>A Highlighted Pricing Card</p></figcaption></figure>

* **Key settings**: **Badge text (optional)**, **Heading** and **Heading level**, **Description (optional)**, **Price**, **Currency code** or **Currency symbol** and its position, **Price period**, **Price note**, **Features (rich text)**, **Divider above features**, **Shadow**, **Border style**, **Background theme**, **Text alignment**, button settings, and **Highlight card**.
* **Tip**: highlight one plan, such as the most popular, to help visitors decide.

## Testimonial Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-9efb2f5576c416671f07d09641c7400d44fb72dc%2Fcanvas-component-card-testimonial.png?alt=media" alt="A testimonial card with a quote mark, a one-sentence quote about career guidance, and the author&#x27;s avatar, name and role"><figcaption><p>A Testimonial Card</p></figcaption></figure>

* **Key settings**: **Style** (light or dark), **Quote text**, **Author name**, **Author title / role**, **Avatar image**, **Shadow**, **Content alignment**, **Show quote icon**.
* **Tip**: use real quotes with the person's permission.

## Text Card

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-0b977494afab527cacb29cc0b589f33414d08b20%2Fcanvas-component-card-text.png?alt=media" alt="A text card with the title Card Text Title, one line of text and an Action button"><figcaption><p>A Text Card</p></figcaption></figure>

* **Key settings**: **Card border**, **Background color**, **Padded**, **Shadow**, **Border radius**, **Equal height**, **Stretched link** with **Card link URL**, **Icon image** and **Icon alignment**.
* **Slots**: **Card content**.
