A teaser is a preview that is intended to arouse users' curiosity and encourage them to click on further content or pages.
Number | Type | Description | Optional | Info |
---|---|---|---|---|
1 | Component | sbb-image | No | |
2 | Component | sbb-chip | Yes |
The sbb-teaser-paid
is a component with a background image and a chip with a text.
<sbb-teaser-paid>
<sbb-chip slot="chip">Label</sbb-chip>
<sbb-image slot="image" image-src="https://path-to-source" alt="SBB CFF FFS Employee"></sbb-image>
</sbb-teaser-paid>
The sbb-teaser-paid
component has two slots: the image
slot, used to slot an sbb-image
and the chip
slot, used to slot an sbb-chip
.
Name | Description |
---|---|
chip | Link content of the panel |
image | The background image that can be a sbb-image |