Skip to main content

CnLabelWidget

Single-line styled text label widget (font size, colour, weight, alignment) for dashboard grids.

Part of the dashboard widget library (v2). Registered with the dashboard widget registry and consumed by MyDash/LaunchPad's widget grid. See the widget library overview and docs/architecture/cards-and-widgets.md.

Reference

Props

NameTypeRequiredDefaultDescription
content{text: string, fontSize: string, color: string, backgroundColor: string, fontWeight: string, textAlign: string}\{\}Persisted widget content blob: {text, fontSize, color, backgroundColor, fontWeight, textAlign}. All keys are optional; missing keys collapse to documented defaults.