<span slot="link-content">Find out more</span>
</sbb-teaser-hero> Properties
Property | Attribute | Description | Type | Default |
href | href | The href value you want to link to. | string | undefined |
imageAlt | image-alt | Image alt text will be passed to sbb-image . | string | undefined |
imageSrc | image-src | Image src will be passed to sbb-image . | string | undefined |
linkContent | link-content | Panel link text. | string | undefined |
rel | rel | The relationship of the linked URL as space-separated link types. | string | undefined |
target | target | Where to display the linked URL. | string | undefined |
Slots
Slot | Description |
"image" | the background image, can be a sbb-image |
"link-content" | link content of the panel |
"unnamed" | text content of panel |
Dependencies
Depends on
Graph
graph TD;
sbb-teaser-hero --> sbb-link
sbb-teaser-hero --> sbb-image
sbb-link --> sbb-icon
style sbb-teaser-hero fill:#f9f,stroke:#333,stroke-width:4px
Demo Break out and explore castles and palaces.
Kurz Zu lang
White Milk Iron Charcoal Black
Mehr Beispiele auf Storybook Impressum Kontakt Cookie Einstellungen