{% include '@bolt-components-teaser/teaser.twig' with {
signifier: image,
headline: {
text: 'Some awesome Title',
link_attributes: {
href: 'https://www.pega.com',
}
},
} %}
Prop Name | Description | Type | Default Value | Option(s) |
---|---|---|---|---|
attributes
|
A Drupal-style attributes object with extra attributes to append to this component. |
object
| — |
|
layout
|
Set the layout of the teaser based on the use case. |
string
|
vertical
|
|
gutter
|
Set the spacing in between columns for horizontal and responsive layouts. |
string
|
medium
|
|
type
|
Set the type of teaser. A play button will display with the video teaser signifier. |
string
| — |
|
signifier
|
Set the signifier for the teaser. It accepts plain element, the Image component, and the Icon element. |
object
| — |
|
eyebrow_text
|
Set the helper info above the headline. |
string
| — |
|
headline
|
Set the headline text, size, and the block link that covers the entire teaser. |
object
| — |
|
subheadline
|
Set the subheadline text and size. |
object
| — |
|
description
|
Set a brief description of the resource. |
object
| — |
|
time
|
Render time data (video duration or read time) for the resouce. |
string
| — |
|
like
|
Render the like button. Link element is expected here. |
object
| — |
|
share
|
Render the share button. Share menu is expected here. |
object
| — |
|
download
|
Render the download link. Link element is expected here. |
object
| — |
|
chip_list
|
Render a list of related chips for the resource. Passing the Chip List component is mandatory. |
object
| — |
|
status
|
object
| — |
|
npm install @bolt/components-teaser