← All components

<background>

LayoutWallpaperWidget

Root-level background element rendered behind all pages. Use for the wallpaper's base color or gradient.

Example

<background background="#0D1117" />

Attributes

NameTypeDefaultDescription
backgroundColorBackground color
gradientStringGradient (e.g., linear(#F00, #00F, 45))
parallaxFloat0Parallax offset factor (0.0–1.0)
opacityFloat1.0Opacity (0.0–1.0)