Hinweiskasten — component.callout
Hervorgehobener Hinweis im Fliesstext (Ton aus festem Vorrat: info/success/warning/danger) mit optionalem Titel und Rich-Text-Inhalt. 1.1.0 (08.11.2026, opt-in, NEX Studio Waechter-Hinweise): items [{text, meta (Pfad als Chip), icon?, value?}] = Liste unter dem Inhalt, Eintrag mit value ist ein Knop
Beispiele
Info mit Titel
Gut zu wissen
Der Entwurf ist erst nach dem Publizieren sichtbar.
Warnung
Achtung
Ein Neubau dauert Minuten — nicht abbrechen.
Script wird entfernt
Sicher.
Eigenschaften
| Prop | Typ | Default |
|---|---|---|
tone | string: info | success | warning | danger | "info" |
title | string | "" |
html * | string | — |
items | array | [] |
actions | array | [] |
dismissible | boolean | false |
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 | full | "standard" |
alignSelf | string: standard | start | center | end | "standard" |
anchor | string | "" |
Events & Slots
Events: item, action, dismiss
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--callout-accent | var(--color-status-info) |
--callout-surface | var(--color-status-info-surface) |
Genutzte Design-Tokens
border.emphasis color.status.danger color.status.danger-surface color.status.info color.status.info-surface color.status.success color.status.success-surface color.status.warning color.status.warning-surface color.text.default color.text.link color.text.muted duration.fast easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default font.family.mono leading.base leading.tight radius.full radius.md radius.sm size.05 size.1 size.1-5 size.2 size.3 size.4 size.5 size.8 text.2xs text.md text.sm weight.semibold