Video-Teaser — section.video-teaser
Video-Bühne mit eigenem Vorschaubild und Zwei-Klick-Datenschutz: YouTube (youtube-nocookie) oder Vimeo (dnt) lädt erst nach Bestätigung, auf Wunsch dauerhaft gemerkt; eigene MP4/WebM-Dateien starten direkt. Ohne JavaScript führt der Klick zum Video beim Anbieter. Layout stage (groß) oder split (Text
Beispiele
Bühne, YouTube mit Einwilligung
Text neben Video, dunkel, ohne Vorschaubild
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
eyebrow | string | "" |
title | string | "" |
text | string | "" |
ctaLabel | string | "" |
ctaUrl | string | "" |
provider | string: youtube | vimeo | file | calendly | "youtube" |
video * | string | "" |
videoTitle | string | "" |
poster | string | "" |
posterAlt | string | "" |
duration | string | "" |
consentText | string | "" |
privacyUrl | string | "" |
layout | string: stage | split | "stage" |
tone | string: light | gray | dark | "light" |
spacing | string: sm | md | lg | xl | "lg" |
anchor | string | "" |
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--band-surface | transparent |
--band-text | var(--color-text-default) |
--band-muted | var(--color-text-muted) |
--video-link | var(--accent-text-color, var(--color-action-primary)) |
--video-play | var(--color-action-primary) |
--video-play-text | var(--color-action-on-primary) |
--video-scrim | var(--color-band-dark) |
--video-scrim-text | var(--color-band-dark-text) |
--section-spacing | var(--size-8) |
Genutzte Design-Tokens
border.hairline color.action.on-primary color.action.primary color.band.dark color.band.dark-muted color.band.dark-text color.band.gray color.band.gray-muted color.band.gray-text color.text.default color.text.muted duration.fast easing.standard elevation.raised focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.display font.leading.display leading.loose radius.control radius.surface size.1 size.10 size.12 size.2 size.24 size.3 size.4 size.5 size.6 size.8 text.md text.reading text.sm tracking.wide weight.bold weight.semibold