Invisible Docs
GalerieTokens

Call-to-Action — section.cta

Aufruf-Banner mit Titel, Text und Button-Slot — brand- oder neutral-getönt, mobil kompakt

Blockv1.1.2Konversionweb.documentbuilder.preview

Beispiele

Brand-Banner

Bereit für den Umstieg?

14 Tage kostenlos testen — keine Kreditkarte nötig.

Neutral

Newsletter abonnieren

Produkt-Updates, maximal einmal im Monat.

Eigenschaften

PropTypDefault
title *string—
textstring""
tonestring: brand | neutral"brand"
spacingstring: none | sm | md | lg | xl"md"
paddingstring: standard | none | sm | md | lg | xl"standard"
marginstring: standard | none | sm | md | lg | xl"standard"
borderstring: standard | none | hairline | strong"standard"
radiusstring: standard | none | control | surface | pill"standard"
textColorstring""
backgroundColorstring""
shadowstring: standard | none | sm | md | lg"standard"
widthstring: standard | container | full"standard"
heightstring: standard | half | full"standard"
backgroundImagestring""
backgroundDimstring: standard | light | medium | strong"standard"
backgroundFixedbooleanfalse
alignSelfstring: standard | start | center | end"standard"
anchorstring""

Events & Slots

Slot actions: akzeptiert ui.button, layout.cluster · Pflicht · max 3

Stellschrauben (Komponenten-Tokens)

TokenDefault
--cta-backgroundvar(--color-action-primary)
--cta-titlevar(--color-action-on-primary)
--cta-textvar(--color-action-on-primary)

Genutzte Design-Tokens

color.action.on-primary color.action.primary color.surface.sunken color.text.default color.text.muted container.md font.family.default leading.base leading.tight opacity.muted radius.surface size.12 size.4 size.6 size.8 text.md text.xl weight.bold