Lern-Hero (Tutorials, Akademie)
Vollbreiter Einstieg für Lern- und Hilfebereiche im tricoma-6-Stil: Chip mit Punkt, große Display-Zeile plus kursive Betonung, Lead, zwei CTAs, Themen-Pills mit Icon und Kennzahlen in Mono — ruhiger Akzent-Glow und Raster aus Tokens, Ton hell oder dunkel. Optionaler Panelmodus mit Aside fuer redakti
Nutzt: ui.icon
Beispiele
Keine Demo-Fälle hinterlegt (demo.php ergänzen).
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| chip | string | "" | Chip (klein, mit Punkt) |
| title * | string | — | Titel (gerade Zeile) |
| titleEmphasis | string | "" | Titel-Betonung (kursive zweite Zeile) |
| lead | string | "" | Lead |
| note | string | "" | Zusatzzeile (z. B. Platzhalter {tutorial_titel}) |
| primaryLabel | string | "" | CTA (Primary) |
| secondaryLabel | string | "" | Zweit-CTA |
| topics | array | [] | Themen-Pills |
| stats | array | [] | Kennzahlen |
| tone | string: light | dark | "light" | Ton |
| align | string: center | start | "center" | Ausrichtung |
| spacing | string: sm | md | lg | xl | "xl" | Eigenabstand oben/unten |
| grid | boolean | true | Feines Raster im Hintergrund |
| primaryUrl | string | "" | CTA-Ziel |
| secondaryUrl | string | "" | Zweit-CTA-Ziel |
| anchor | string | "" | Anker-ID (Sprungziel) |
| variant | string: band | panel | "band" | Form: Band oder Portal-Panel |
* Pflicht-Prop
Events & Slots
Slot aside:
akzeptiert ui.*, component.*, layout.*, section.*
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 |
|---|---|
--learn-surface | var(--color-surface-page) |
--learn-text | var(--color-text-default) |
--learn-muted | var(--color-text-muted) |
--learn-line | var(--color-border-default) |
--learn-glass | var(--material-glass-background) |
--learn-cta | var(--color-text-default) |
--learn-cta-text | var(--color-surface-default) |
--section-spacing | var(--size-16) |
Genutzte Design-Tokens
border.hairlinecolor.accentcolor.accent-softcolor.band.darkcolor.band.dark-mutedcolor.band.dark-textcolor.border.defaultcolor.border.subtlecolor.status.infocolor.surface.defaultcolor.surface.pagecolor.text.defaultcolor.text.mutedduration.fasteasing.standardelevation.raisedfocus.ring-colorfocus.ring-offsetfocus.ring-widthfont.family.defaultfont.family.displayfont.family.monoleading.looseleading.tightradius.fullradius.surfacesize.05size.1size.10size.12size.16size.2size.3size.4size.5size.6size.8text.2xltext.2xstext.3xltext.4xltext.6xltext.lgtext.mdtext.readingtext.smtext.xstracking.wideweight.boldweight.medium