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,
Nutzt: ui.icon
Beispiele
Kreis, primary
Eckig, success
Groß, warning
Neutral
Eigenschaften
| Prop | Typ | Default | Builder-Label |
|---|---|---|---|
| name * | string | — | Icon-Name (ui.icon) |
| tone | string: 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 |
| appearance | string: soft | gradient | "soft" | Fläche |
| form | string: circle | square | "circle" | Form |
| size | string: md | lg | xl | 2xl | "md" | Größe |
| padding | string: standard | none | sm | md | lg | xl | "standard" | Innenabstand (standard = Baustein-Wert) |
| margin | string: standard | none | sm | md | lg | xl | "standard" | Aussenabstand |
| border | string: standard | none | hairline | strong | "standard" | Rahmen |
| radius | string: standard | none | control | surface | pill | "standard" | Ecken-Rundung |
| textColor | string | "" | Textfarbe (Token; leer = Standard) |
| backgroundColor | string | "" | Hintergrundfarbe (Token; leer = Standard) |
| shadow | string: standard | none | sm | md | lg | "standard" | Schatten |
| width | string: standard | full | "standard" | Breite |
| alignSelf | string: standard | start | center | end | "standard" | Ausrichtung im Elternteil |
| anchor | string | "" | Anker-ID (Sprungziel, z. B. fuer Nav-Links) |
| emoji | string | "" | Emoji |
| color | string | "" | 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.
| Token | Default |
|---|---|
--area-tone | var(--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 Iconsui.icon-button.
Wichtige Props
name* = Icon-Name (ui.icon, Pflicht)tone=primary | accent | success | warning | danger | neutral | info | series-1…8 | teal(Default „primary";tealab 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-mixaus den Status-/Primary-Tokens abgeleitet — dieselbe Optik in Light und Dark, nie rohe Farben setzen.