Backgroundsexperimental
Nimbus
Ambient scene
A living section background: layered fog at depth, a slow camera, dust, light sweeps and crossfading colour moods.
Season two · now loading
Somewhere past the harbour lights
A background that keeps breathing while people read. Fog banks drift at three depths, dust catches the light, and the colour mood turns over slowly enough that nobody looks away from the words.
Customize
Scenethe preset picks the moods, the frame and the resolution; the knobs below override it
presetpaletteNameaccent9
seedLifeall 0 to 1; the field is drawn small and stretched up, so none of it is expensive
0.35
motion0.25
parallax0.12
density0.00
lighting1.00
speedContrastfor the content on top
0.75
intensity0.00
scrim0.00
grainUsage
<Nimbus>
<Hero />
</Nimbus>Generated from the controls above. Only props that differ from their defaults are shown.
Props
| Property | Type | Default | Description |
|---|---|---|---|
preset | "calm" | "drift" | "cinematic" | "pixel" | "calm" | Preset. |
accent | string | null | null | Accent. |
seed | number | 9 | Seed. Range 1 to 40. |
motion | number | 0.35 | Motion. Range 0 to 1. |
parallax | number | 0.25 | Parallax. Range 0 to 1. |
density | number | 0.12 | Dust. Range 0 to 1. |
lighting | number | 0 | Lighting. Range 0 to 1. |
speed | number | 1 | Speed. Range 0.1 to 3. |
intensity | number | 0.75 | Fog. Range 0 to 1. |
scrim | number | 0 | Scrim. Range 0 to 1. |
grain | number | 0 | Grain. Range 0 to 1. |
children | ReactNode | — | Content laid over the fog, kept above every layer. |
colors | string[] | from the preset | One fog palette, replacing the preset's moods. |
scenes | NimbusScene[] | from the preset | Colour moods ({ fog, sky?, light? }) that crossfade slowly; wins over colors. |
time | number | — | Hold the field this many seconds in, for stills and screenshots. |
disabled | boolean | false | Paint one frame and hold it. |
Dependencies
0 external runtime dependencies
Ships with nothing but React.
Experimental: still under evaluation and not part of the published package yet.