Feature-Raster
Feature-Kacheln mit Icon, Titel und Text — auto-fit-Raster, mobil eine Spalte. 1.4: auch fuer App-Bereiche freigegeben (spacing none + columns = Containerabfrage) 1.8: opt-in filterable (+ items[].tags) fuer component.filter-bar filterTarget 1.9.0 (opt-in): layout aside = Kopf links und stehend (sti
Nutzt: ui.icon component.parts-list
Beispiele
Warum Invisible?
Ein Definitionsmodell, jedes Target — kontrollierbar und versioniert.
Manifest pro Baustein, Registry generiert — nichts doppelt gepflegt.
Publish blockiert kaputte Seiten, die Laufzeit bleibt tolerant.
Props und Tokens statt freiem Code — untrusted JSON bleibt harmlos.
Immutable Publishes mit Migrationen — Updates brechen keine Seiten.
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| title | string | "" | Titel |
| layout | string: | aside | "" | Anordnung (aside = Kopf links stehend, Kacheln rechts) |
| titleScale | string: | section | "" | Titelgroesse |
| subtitle | string | "" | Untertitel |
| items * | array | — | Features |
| filterable | boolean | false | Filterbar (Suche/Filterleiste) |
| accentTone | string: | primary | blue | orange | teal | pink | green | violet | amber | red | "" | Bereichsfarbe |
| eyebrow | string | "" | Ueberzeile (ueber dem Titel) |
| align | string: start | center | "start" | Kopf ausrichten |
| columns | string: auto | 2 | 3 | 4 | "auto" | Spalten (auto = nach Breite; 2/3/4 = feste Hoechstzahl ohne einzelne Restkarte) |
| spacing | string: none | sm | md | lg | xl | "lg" | 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 |
|---|---|
--features-action-primary | var(--color-action-primary) |
--features-border-subtle | var(--color-border-subtle) |
--features-radius-md | var(--radius-md) |
--features-radius-surface | var(--radius-surface) |
--features-surface-default | var(--color-surface-default) |
--features-text-default | var(--color-text-default) |
--features-text-muted | var(--color-text-muted) |
Genutzte Design-Tokens
LLM-Notizen
section.features
Feature-Kacheln mit Icon, Titel und Text in einem auto-fit-Raster, mobil einspaltig.
Wann nutzen
- Gleichförmiger Funktions-/Vorteils-Überblick mit Icon je Kachel.
- Für unterschiedlich große Karten mit Media-Flächen eher
section.feature-bento.
Wichtige Props
items* = Array aus{icon, title*, text}, icon aus dem ui.icon-Set (Defaultcheck)title= Sektionstitelsubtitle= Untertitelspacing= Eigenabstandnone|sm|md|lg|xl(Defaultlg)
Beispiel-Node
{ "definition": "section.features", "props": { "title": "Warum wir", "items": [{ "icon": "zap", "title": "Schnell", "text": "Antworten in Millisekunden." }, { "icon": "lock", "title": "Sicher", "text": "Ende-zu-Ende verschlüsselt." }] } }
Hinweise
- Icons stammen aus
ui.icon; nur Namen aus diesem Set verwenden.