Invisible Docs
GalerieTokens

Hero — section.hero

Große Einstiegs-Section mit Titel, Untertitel und Aktions-Slot

Blockv1.1.2Einstiegweb.documentbuilder.preview

Beispiele

Standard mit Aktionen und Media-Card

Ein Definitionsmodell für alle Oberflächen

Website, Shop, App, Desktop und E-Mail aus derselben Registry — gerendert über Target-Profile.

Section → Component → Element

Diese Karte steckt im media-Slot des Hero.

Brand-Ton, zentriert

Der Kunde wählt Props und Tokens.

Keine freien Klassen, kein freies CSS — das System bleibt kontrollierbar.

Eigenschaften

PropTypDefault
title *string—
subtitlestring""
alignstring: start | center"start"
tonestring: default | brand"default"
spacingstring: none | sm | md | lg | xl"none"
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 · max 3

Slot media: akzeptiert ui.*, component.card, layout.* · max 1

Stellschrauben (Komponenten-Tokens)

TokenDefault
--hero-backgroundvar(--color-surface-default)
--hero-title-colorvar(--color-text-default)
--hero-subtitle-colorvar(--color-text-muted)

Genutzte Design-Tokens

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