Hero (hero
)
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
title | Title | ||
lead | Lead | ||
illustration | Illustration | An image element |
id: hero
label: Hero
homepage: 'https://design-system.w3.org/components/hero.html'
variants:
default:
id: default
label: Default
listing:
id: listing
label: Listing
slots:
title:
id: title
label: Title
lead:
id: lead
label: Lead
illustration:
id: illustration
label: Illustration
description: 'An image element'
examples:
preview:
id: preview
label: Preview
renderable:
'@component': hero
title: 'Hero title'
lead: 'A very short introduction/summary of the page.'
illustration:
'@element': img
src: 'https://www.w3.org/thumbnails/200/avatar-images/7mtpjeh4in8kw04ksso8ss4ocsksswo.webp'