Theme: ← Übersicht Tokens

CTA-Button

Großer Call-to-Action mit gemeinsamer Button-Kapsel-Rundung — komponiert auf ui.button

Components v1.0.3 Aktionen Website component.cta-button

Nutzt: ui.button

Beispiele

Standard

Eigenschaften

PropTypDefaultBuilder-Label
label *string—label
paddingstring: standard | none | sm | md | lg | xl"standard"Innenabstand (standard = Baustein-Wert)
marginstring: standard | none | sm | md | lg | xl"standard"Aussenabstand
borderstring: standard | none | hairline | strong"standard"Rahmen
radiusstring: standard | none | control | surface | pill"standard"Ecken-Rundung
textColorstring""Textfarbe (Token; leer = Standard)
backgroundColorstring""Hintergrundfarbe (Token; leer = Standard)
shadowstring: standard | none | sm | md | lg"standard"Schatten
widthstring: standard | full"standard"Breite
alignSelfstring: standard | start | center | end"standard"Ausrichtung im Elternteil
anchorstring""Anker-ID (Sprungziel, z. B. fuer Nav-Links)

* Pflicht-Prop

Events & Slots

Events: ⚡ activate — im Surface per on: {<event>: {action, params}} verdrahtbar.

LLM-Notizen


# component.cta-button

Grosser Call-to-Action-Button, im Component Builder auf `ui.button` komponiert.

## Wann nutzen
- Für eine herausgehobene Primär-Aktion (Hero/Landing).
- Für gewöhnliche oder mehrere Buttons direkt `ui.button` verwenden.

## Wichtige Props
- `label`* = Button-Beschriftung

## Beispiel-Node
{ "definition": "component.cta-button", "props": { "label": "Jetzt starten" } }

## Hinweise
- Emittiert `activate` beim Klick.
- Baut auf `ui.button` auf; Stil kommt aus dem Button-Baustein/Token.