Feature-Raster — section.features
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
Beispiele
Vier Features
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 |
|---|---|---|
title | string | "" |
layout | string: | aside | "" |
titleScale | string: | section | "" |
subtitle | string | "" |
items * | array | — |
filterable | boolean | false |
accentTone | string: | primary | blue | orange | teal | pink | green | violet | amber | red | "" |
eyebrow | string | "" |
align | string: start | center | "start" |
columns | string: auto | 2 | 3 | 4 | "auto" |
spacing | string: none | sm | md | lg | xl | "lg" |
padding | string: standard | none | sm | md | lg | xl | "standard" |
margin | string: standard | none | sm | md | lg | xl | "standard" |
border | string: standard | none | hairline | strong | "standard" |
radius | string: standard | none | control | surface | pill | "standard" |
textColor | string | "" |
backgroundColor | string | "" |
shadow | string: standard | none | sm | md | lg | "standard" |
width | string: standard | container | full | "standard" |
height | string: standard | half | full | "standard" |
backgroundImage | string | "" |
backgroundDim | string: standard | light | medium | strong | "standard" |
backgroundFixed | boolean | false |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Stellschrauben (Komponenten-Tokens)
| 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
border.hairline color.accent-soft color.action.primary color.border.strong color.border.subtle color.surface.default color.text.default color.text.link color.text.muted container.md 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.base leading.tight radius.full radius.md radius.surface size.1 size.10 size.12 size.2 size.24 size.3 size.4 size.6 size.8 text.2xl text.lg text.sm text.xs weight.bold weight.semibold