---
title: Wallpaper
description: "Sets the desktop wallpaper."
---

```tsx
import { Wallpaper } from 'filedom';

<Wallpaper source={{ kind: 'color', value: '#1c1917' }} />
```

The wallpaper is restored when the component unmounts. A flat colour also
becomes the background of the enclosing
[StageProvider](/docs/reference/components/stage-provider), unless the provider sets
`background` itself. Render the wallpaper before the stages so they see the colour.

## Props

| Prop | Type | Default | Description |
| - | - | - | - |
| `source` | `WallpaperSource` | - | { kind: 'color', value, size? }, { kind: 'path', path } or { kind: 'data', base64 }. |
