Preistabelle
Preispläne als Karten (Highlight-Plan hervorgehoben) — auto-fit-Raster, mobil gestapelt. 1.2.0: feste Texte mehrsprachig (invisible_i18n).
Beispiele
Drei Pläne mit Highlight
Faire Preise
Monatlich kündbar, alle Kernfunktionen inklusive.
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| title | string | "" | Titel |
| subtitle | string | "" | Untertitel |
| plans * | array | — | Pläne |
| 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 |
|---|---|
--grid-gap | var(--size-4) |
Genutzte Design-Tokens
border.emphasisborder.hairlinecolor.action.on-primarycolor.action.on-secondarycolor.action.primarycolor.action.primary-hovercolor.action.secondarycolor.action.secondary-hovercolor.border.defaultcolor.surface.defaultcolor.text.defaultcolor.text.mutedduration.fasteasing.standardelevation.controlelevation.overlayfocus.ring-colorfocus.ring-offsetfocus.ring-widthfont.family.defaultfont.family.displayfont.leading.displayleading.tightradius.controlradius.surfacesize.1size.12size.3size.4size.5size.6size.8text.3xltext.lgtext.mdtext.smtracking.wideweight.boldweight.regularweight.semibold
LLM-Notizen
section.pricing
Preispläne als Karten mit hervorgehobenem Highlight-Plan, auto-fit-Raster, mobil gestapelt.
Wann nutzen
- Preis-/Tarifvergleich mit mehreren Plänen und optional einem betonten Plan.
Wichtige Props
plans* = Array aus{name*, price*, period?, features?[], cta?, href?, highlight?}title= Sektionstitelsubtitle= Untertitelspacing= Eigenabstandnone|sm|md|lg|xl(Defaultlg)
Beispiel-Node
{ "definition": "section.pricing", "props": { "title": "Preise", "plans": [{ "name": "Pro", "price": "19 €", "period": "/Monat", "features": ["Alle Funktionen", "Support"], "cta": "Wählen", "href": "/buy/pro", "highlight": true }] } }
Hinweise
highlight: truehebt genau den betonten Plan hervor.featuresist ein Array aus Strings.