Call out (call_out
)
A vertical call out section containing a logo, headline, description and a call-to-action button.
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
title | Title | Call Out title. | |
desc | Description | Call Out description. | |
content | Content | Call Out free renderable content | |
heading_level | Heading level |
|
id: call_out
label: 'Call out'
description: 'A vertical call out section containing a logo, headline, description and a call-to-action button. '
homepage: 'https://protocol.mozilla.org/components/detail/call-out.html'
variants:
default:
id: default
label: Default
compact:
id: compact
label: Compact
slots:
title:
id: title
label: Title
description: 'Call Out title.'
desc:
id: desc
label: Description
description: 'Call Out description.'
content:
id: content
label: Content
description: 'Call Out free renderable content'
props:
heading_level:
id: heading_level
label: 'Heading level'
schema:
type: integer
enum:
- 2
- 3
- 4
- 5
- 6
examples:
preview:
id: preview
label: Preview
renderable:
'@component': call_out
title: 'Example headline with 35 characters'
desc:
-
'@template': '<p>A description with a maximum of 140 characters and <a href="#">a link</a>. That means we usually only have room for one or two sentences. Like this.</p>'
content:
-
'@component': button
'@variant': product
label: 'Download Firefox'
-
'@component': button
label: 'Firefox Privacy Notice'
heading_level: 3
Default
(
default
)
Example headline with 35 characters
A description with a maximum of 140 characters and a link. That means we usually only have room for one or two sentences. Like this.
Compact
(
compact
)
Example headline with 35 characters
A description with a maximum of 140 characters and a link. That means we usually only have room for one or two sentences. Like this.