Laufband (Marquee)
Endlos laufendes Band für Logos oder Kurztexte: Richtung und Tempo wählbar, Randabblendung, Pause bei Mauskontakt — hält bei prefers-reduced-motion an
Beispiele
Text-Laufband (Maus darüber pausiert)
Vertrauen uns
Schnell, andere Richtung
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| tone | string: dark | gray | light | "light" | Ton (Theme liefert die Werte) |
| title | string | "" | Überschrift |
| items * | array | — | Einträge |
| imageStyle | string: original | monochrome | "original" | Logo-Darstellung |
| direction | string: left | right | "left" | Laufrichtung |
| speed | string: slow | normal | fast | "normal" | Tempo |
| pauseOnHover | boolean | true | Pause bei Mauskontakt |
| spacing | string: none | sm | md | lg | xl | "none" | Eigenabstand |
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert, schlaegt Eigenabstand) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | container | full | "standard" | Breite (full = Band aus dem Container, container = im Container) |
| height | string: standard | half | full | "standard" | Hoehe (full = Bildschirmhoehe, Inhalt zentriert) |
| backgroundImage | string | "" | Hintergrundbild (https-URL oder /pfad; leer = keins) |
| backgroundDim | string: standard | light | medium | strong | "standard" | Bild abdunkeln (Lesbarkeit; standard = aus) |
| backgroundFixed | boolean | false | Bild steht fest beim Scrollen (Parallax) |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | Anker-ID (Sprungziel, z. B. fuer Nav-Links) |
* Pflicht-Prop
Stellschrauben (Komponenten-Tokens)
Ebene 3 — aus dem CSS generiert (Registry). Umverdrahtbar per Hüllen-Komposition, ohne Markup-Eingriff; künftige Regler-Quelle des Component Builders.
| Token | Default |
|---|---|
--band-surface | transparent |
--band-text | var(--color-text-default) |
--band-muted | var(--color-text-muted) |
--marquee-duration | 32s |
Genutzte Design-Tokens
color.band.darkcolor.band.dark-mutedcolor.band.dark-textcolor.band.graycolor.band.gray-mutedcolor.band.gray-textcolor.text.defaultcolor.text.mutedfont.family.defaultsize.10size.12size.16size.4size.40size.6size.8text.lgtext.smtracking.wide
LLM-Notizen
section.marquee
Endlos laufendes Band für Logos oder Kurztexte (Vertrauens-Leiste, USP-Ticker).
Wichtige Props
items* =[{text}]ODER[{imageUrl, alt}](Logos),tone(dark|gray|light),direction(left|right),speed(slow|normal|fast),pauseOnHover.
Hinweise
- Der Renderer gibt die Einträge ZWEIMAL aus — so schließt sich die Lücke beim Umlauf nahtlos.
- Randabblendung per mask-image; bei
prefers-reduced-motionsteht das Band still und bricht um.