Zur Navigation Zum Inhalt Kontakt Menu Trouver un composant Aperçu Lyne Principes Bases Accessibilité Système de design Guidelines Deutsch Français Italiano English Nos principes de design Centré sur l’utilisateur Reconnaissable Inclusif Minimaliste Holistique Auto-explicatif Axé sur les tâches Approprié Portail de la marque CFF Logo Horloge numérique Droits d’utilisation Couleurs de base Couleurs fonctionnelles Couleurs off-brand Icônes Icônes de l’horaire Pictogrammes À propos de l’accessibilité À propos de ce guide Contact Informations complémentaires Product Owner User Research Interaction Design Visual Design Development Content Design Testing What is a design system? Conception Développer FAQ Aide Procès Contribution Contact Aperçu Base Composants Overview Releases Design Tokens Komponenten Aperçu Base Informations Aperçu Base Composants Sens & objectif Community Assets Instructions Power-Apps Bandeaux publicitaires numériques SAP Icônes d’applications Cette page n'est pas disponible dans la langue souhaitée. Langues disponibles Deutsch English Teaser-Paid Info

Was macht die Komponente?

Ein Teaser ist eine Vorschau, der Nutzende neugierig machen und sie dazu anregen soll, auf weitere Inhalte oder Seiten zu klicken.

Wann soll die Komponente eingesetzt werden?

  • Um Inhalte, Artikel, Produkte oder Dienstleistungen hervorzuheben und zu bewerben.
  • Um Nutzende auf weiterführende Informationen oder interessante Inhalte aufmerksam zu machen.

Regeln

  • Verwende eine prägnante und einladende Überschrift sowie eine kurze, interessante Beschreibung.
  • Verwende nicht zu viele verschiedene Teaser-Arten- und Grössen auf einer Seite.
  • Mehrere Teaser können mit einem Titel strukturiert werden.

Verwandte Komponenten

Teaser-HeroTeaser-PaidTeaser
Anatomie
Anatomie der Komponente
Nummer Typ Beschreibung Optional Hinweis
1 Komponente sbb-image Nein
2 Komponente sbb-chip Ja
Demo

Beispiele

HTML-Markup kopiert.
Implementation

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>

Slots

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.

Slots

Name Description
chip Link content of the panel
image The background image that can be a sbb-image
Impressum Contact Paramètres des cookies