Theme: ← Übersicht Tokens

Icon-Fläche (Featured Icon)

Icon auf getönter runder/eckiger Fläche (Untitled-UI-Muster Featured Icon) — Töne aus Status-/Primary-Tokens per color-mix abgeleitet. v1.1 (opt-in): Größen xl/2xl, appearance gradient (Verlaufskachel), Töne info und series-1…8. 1.3.0 (01.11.2026, opt-in, iamgreat Eltern-Portal): emoji statt Symbol,

UI Elements v1.4.0 Inhalt WebsiteAppDesktop ui.featured-icon

Nutzt: ui.icon

Beispiele

Kreis, primary
Eckig, success
Groß, warning
Neutral

Eigenschaften

PropTypDefaultBuilder-Label
name *string—Icon-Name (ui.icon)
tonestring: primary | accent | success | warning | danger | neutral | info | series-1 | series-2 | series-3 | series-4 | series-5 | series-6 | series-7 | series-8 | teal"primary"Ton
appearancestring: soft | gradient"soft"Fläche
formstring: circle | square"circle"Form
sizestring: md | lg | xl | 2xl"md"Größe
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)
emojistring""Emoji
colorstring""Eigene Farbe (Hex)

* 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.

TokenDefault
--area-tonevar(--color-action-primary)

Genutzte Design-Tokens

border.hairlinecolor.accentcolor.action.primarycolor.chart.1color.chart.2color.chart.3color.chart.4color.chart.5color.chart.6color.chart.7color.chart.8color.status.dangercolor.status.infocolor.status.successcolor.status.warningcolor.surface.defaultcolor.text.defaultcolor.text.mutedelevation.raisedgradient.brandgradient.brand-subtlepalette.neutral.0palette.neutral.950palette.teal.600size.10size.12size.16size.24tag.teal.tone

LLM-Notizen

ui.featured-icon

Icon auf getönter runder oder eckiger Fläche (Untitled-UI-Muster „Featured Icon").

Wann nutzen

  • Als hervorgehobenes Blickfang-Icon für Feature-Karten, Empty States oder Section-Köpfe.
  • Für ein schlichtes Inline-Icon stattdessen ui.icon, für klickbare Icons ui.icon-button.

Wichtige Props

  • name* = Icon-Name (ui.icon, Pflicht)
  • tone = primary | accent | success | warning | danger | neutral | info | series-1…8 | teal (Default „primary"; teal ab 1.4.0)
  • form = circle | square (Default „circle")
  • size = md | lg (Default „md")

Beispiel-Node


{ "definition": "ui.featured-icon", "props": { "name": "sparkles", "tone": "primary", "form": "circle", "size": "lg" } }

Hinweise

  • Die getönte Fläche wird per color-mix aus den Status-/Primary-Tokens abgeleitet — dieselbe Optik in Light und Dark, nie rohe Farben setzen.