> 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/hero-components.md).

# Hero Components

Heroes open a page with one strong message and, usually, one action. Use one hero per page, at the top.

## Hero Slider (Container) and Hero Slide

A rotating set of large slides. The **Hero Slider (Container)** holds any number of **Hero Slide** components; drag slides in the **Layers** panel to reorder them. The home page of a Varbase Starter site opens with one.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-c5e7b83798025c4a39d9005cc64834c5b2efa78c%2Flearn-01-studio-home-page.png?alt=media" alt="The home page hero slider with a dimmed office photo, the heading Varbase, Better Than Ever, a line of text, a Try Varbase for Free button, slide indicators and previous and next controls"><figcaption><p>A Hero Slider on the Home Page</p></figcaption></figure>

* **Key settings (container)**: **Transition** (slide or fade), **Autoplay** and **Autoplay interval (ms)**, **Pause on hover**, **Show indicators**, **Show prev/next controls**, **Slider height**, **Controller color**, **Edge-to-edge background**.
* **Key settings (slide)**: **Enabled**, **Active by default**, **Title** and **Title tag**, **Title size**, **Content (rich text)**, **Image**, **Media position (per slide)** (inherit, overlay background, image start, image end, or text only), **Content max width**, **Vertical alignment**, **Text alignment**, **Text color**, overlay settings, and **Button text**, **Button URL** and **Button style**.
* **Slots**: the container has **Slides**.
* **Tip**: three slides at most, each with one message. Many visitors never see the later slides, so put the most important message first.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-5048cf6038ca31c9cff4e2a546615f456f7e35e8%2Fcanvas-component-hero-slide.png?alt=media" alt="A hero slide in split layout with a photo of two colleagues on the left and the heading Design With Confidence, a line of text and an Explore components button on the right"><figcaption><p>A Hero Slide With the Image at the Start</p></figcaption></figure>

For a full walkthrough, see [Hero Slider Container and Hero Slide With Drupal Canvas](https://docs.varbase.vardot.com/developers/theme-development-with-varbase/drupal-canvas/hero-slider-container-and-hero-slide-with-drupal-canvas.md).

## Hero Card

A single hero with a title, text, an image and a button, in several layouts.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-e41f8765b28891ded2d00b2e29e76a13c05c059f%2Fcanvas-component-card-hero.png?alt=media" alt="A hero card with the heading Build Faster With Reusable Components and a line of text on the left, and a photo of two colleagues on the right"><figcaption><p>A Hero Card With the Image at the End</p></figcaption></figure>

* **Key settings**: **Title** and **Heading tag**, **Content (rich text)**, **Media image** and **Media focal position**, **Media position** (background overlay, start, end, above, below, inside the content, or none), **Image fit**, overlay settings, **Container width**, **Edge-to-edge background**, alignment, **Background color**, **Content text color**, and the button's label, URL, style, size and target.
* **Slots**: **Card media (slot)** to use a video instead of an image, and **Actions (slot)** for several buttons.

## Hero CTA

A call to action: a heading, a line of text and a button, often at the end of a page.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-980ee8b7fb0b917b8f1b2ff214253cfe02f39017%2Fcanvas-component-cta.png?alt=media" alt="A call to action band with the heading Build Faster With Reusable Components, a line of text and a Learn more button, centred"><figcaption><p>A Hero CTA</p></figcaption></figure>

* **Key settings**: **Heading**, **Heading level**, **Heading size**, **Text**, **Background image** and **Background image overlay**, **Background color**, **Content color**, **Text alignment**, **Background edge to edge**, and **Button text**, **Button URL** and **Button style**.
* **Tip**: a campaign page often opens and closes with the same call to action.

## Hero Side by Side

A heading, text and button on one side, an image on the other.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-18ba5548a471b2580522e59e855f809a679cf886%2Fcanvas-component-hero-side-by-side.png?alt=media" alt="A side by side hero with the heading Build Better Digital Experiences, a line of text and a Get started button on the left, and a photo of an office at night on the right"><figcaption><p>A Hero Side by Side</p></figcaption></figure>

* **Key settings**: **Heading** and **Heading level**, **Description text**, **Image** and **Image position**, **Content alignment**, **Background color**, **Text color**, an optional **Background image** with overlay, **Vertical padding**, and the button's label, link, style, size and target.

## Hero Blog

The top of a blog post: date, title and author, with a slot for the featured image. It is used in the blog post content template.

<figure><img src="https://410909369-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FzBcuWLZ87gvtX5vA2YGD%2Fuploads%2Fgit-blob-06a83bc9014d43bdb70104f58130360f87016488%2Fcanvas-component-hero-blog.png?alt=media" alt="A blog hero with a date, the title How Design Systems Scale Content, and By John Smith"><figcaption><p>A Hero Blog</p></figcaption></figure>

* **Key settings**: **Title**, **Heading level**, **Heading size**, **Date**, **Author name**, **Author link**.
* **Slots**: **Blog media**.
