Skip to content

Hero Element

Provides a full-width responsive container for a hero image, tagline, and feature articles

Usage

Basic Usage

html
<content-hero>
</content-hero>

CSS Parts

NameDescription
containerOverall responsive container section element

CSS Variables

NameDescriptionTypeDefault
--container-borderColorBottom border color of hero sectioncolor
  • 000000
--container-textColorForeground text color of tagline textcolor
  • F4F4F4
--container-bgColorPrimary background color, used as fallback to gradientcolor
  • 020024
--gradient-fromColorPrimary color used in background gradientcolor
  • 020024
--gradient-midColorSecondary color used in background gradientcolor
  • 646CFF
--gradient-toColorFinal color used in background gradientcolor
  • 00D4FF

Slots

NameDescriptionType
noneText to show alongside hero image and feature contentp
titleHidden title of the hero section<h3>
imageImage or other content to show in the hero section<img> | *
featureArticles to feature alongside hero image and tagline*