← All components

<background>

Layout Wallpaper Widget

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

Example

<background background="#0D1117" />

Attributes

Name Type Default Description
background Color Background color
gradient String Gradient (e.g., linear(#F00, #00F, 45))
parallax Float 0 Parallax offset factor (0.0–1.0)
opacity Float 1.0 Opacity (0.0–1.0)