Invisible Docs
GalerieTokens

Widget-Karte — component.widget

Widget-Karte mit optionalem Icon, Aktionen, Datenzustand und Metazeile. Desktop-Variante fuer ruhige Daten-Rails. 1.4.5: Widget-Icons mit reinem Farbwechsel, Hafti-Aktionen mit weisser Schrift und Timer mit separaten Dauer-Pfeilen. 1.5.1: Leere Checklisten-Detailzeilen per Attribut statt :has(:place

Componentv1.7.0Desktopweb.applicationdesktop.shell

Beispiele

Live-Widget mit Fuß-Aktion

Aktuelle Übersicht
25 Agenten aktiv · 134 Aufträge in Bearbeitung

Widget mit Alle-anzeigen-Fuß

Aktive Modelle
GPT-OSS 120B · Claude 3.5 · Qwen 3 72B

Eigenschaften

PropTypDefault
title *string—
livebooleanfalse
liveLabelstring"Live"
actionLabelstring""
actionHrefstring""
paddedbooleantrue
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 | full"standard"
alignSelfstring: standard | start | center | end"standard"
anchorstring""
appearancestring: standard | glass | scene | system"standard"
variantstring: default | desktop"default"
iconImagestring""
iconstring""
statestring: ready | loading | empty | error | disconnected | cached"ready"
metastring""

Events & Slots

Slot default: akzeptiert ui.*, component.*, layout.* · Pflicht

Slot actions: akzeptiert ui.*, component.*, layout.*

Slot footer: akzeptiert ui.*, component.*, layout.*

Stellschrauben (Komponenten-Tokens)

TokenDefault
--widget-backgroundvar(--color-surface-default)
--widget-bordervar(--color-border-subtle)
--widget-border-widthvar(--border-hairline)
--widget-radiusvar(--shape-surface)
--widget-padvar(--density-pad)
--glass-opacity-scalevar(--widget-card-opacity-scale)
--window-frame-tintcolor-mix(in srgb, var(--widget-card-color) clamp(0%, calc(75% * var(--glass-opacity-scale)), 100%), transparent)
--window-frame-header-tintcolor-mix(in srgb, var(--widget-card-header-color) clamp(0%, calc(var(--glass-ref-card-header-opacity) * var(--glass-opacity-scale)), 100%), transparent)
--widget-card-filtervar(--glass-debug-widget-cards-backdrop-filter, blur(calc(var(--widget-material-base-blur) * var(--widget-card-blur-scale))) saturate(var(--material-glass-saturation)))
--widget-card-shadownone
--widget-label-shadow0 1px calc(var(--widget-card-text-shadow-blur) * 1px) rgb(0 0 0 / var(--widget-card-text-shadow-scale))
--color-text-default#fff
--color-text-mutedrgb(255 255 255 / .82)
--material-glass-ink#fff
--material-glass-mutedrgb(255 255 255 / .82)
--color-border-subtlergb(255 255 255 / .13)
--chart-text#fff
--icon-button-surface-sunkentransparent
--button-colorvar(--palette-neutral-0)
--button-background-hovervar(--color-action-primary)
--button-background-activevar(--color-action-primary-active)
--widget-place-gradientlinear-gradient(145deg,#cbd2d8 0%,#eef1f4 52%,var(--palette-neutral-0,#fff) 100%)
--widget-scroll-fade-top0px

Genutzte Design-Tokens

border.hairline color.accent color.action.on-primary color.action.primary color.action.primary-active color.border.subtle color.status.danger color.surface.default color.surface.hover color.text.default color.text.muted density.pad easing.standard elevation.raised font.family.default leading.tight palette.neutral.0 radius.control radius.full radius.lg radius.surface size.1 size.14 size.16 size.2 size.3 size.4 size.5 size.6 size.8 size.9 text.2xl text.2xs text.md text.sm text.xl text.xs tracking.wide weight.bold weight.semibold