sw-ui-background
sw-ui-background
sw-ui-background
Decorative full-bleed background that progressively reveals a high-resolution image — a blurred thumbnail shows immediately, then crossfades to the full image once it has finished loading.
The component owns two stacked layers:
data: URL (small, encoded
inline) so something visible paints on first frame.<img> that crossfades in (opacity: 0 → 1, slight transform: scale
settle) when its load event fires.Set default to use the built-in SignalWire brand background; otherwise
supply your own thumbnail (data URL) and src (full image URL).
Designed to be slotted into <sw-ui-call-layout>’s background slot or
<sw-call-widget>’s background slot.
Class: SwUiBackground · Module: packages/web-components/src/components/UI/layout/sw-ui-background.ts
SwUiBackground, sw-ui-backgrounddefault field.
thumbnail field.
src field.
blurAmount field.