docs / atmospheres / utu
Utu
morning fog made into a field. on dark ground it is one luminous body with depth you can see into; on savi the same density reads as damp soaking into clay, transparent where the ground stayed dry.
intensity · roomrsc · client
provenance
authored in usvalayer
atmospheresintensity
room · the whole environment. nothing competes with itcomposition
a landing hero, a splash, one felt moment per viewthe savi stain is calm enough to sit behind longer readingnever behind a table or form. the glow gets one spot per viewnever two glowing bodies in one viewporta11y
the canvas layer isaria-hidden · children stay in normal flow, fully interactive · reduced motion gets a static frame, not a loopjest-axedependencies
ogl · atmospheres-core from the same packagelive demo · try it out
a faint glow
fog that turns and breathes, and leaves the words clear
customize
modeauto reads the ground; force emit or damp stain
speedrotation and breath rate
opacityfog strength, 0 to 1
bandsglowing contour-shells through the body
interactivethe volume leans toward the pointer
accentColorcollapses the dawn gradient to one brand colour
deepthe valleys, oldest fog
midthe body of the glow
hotthe blown-out cores
advanced14
radiussphere size in short-side units
swirltwist per unit height, the helix strength
omegarotation speed of the whole body
noiseFreqscale of the interior texture
noiseAmpstrength of that texture
noiseBasefloor density so fills stay present
drifthow fast the noise field advects
wispSigmavertical width of the equator wisp
wispAmthow far density leaks into the tails
wispDriftsideways shedding speed of the wisps
absorbself-occlusion strength
exposuretone-map exposure, hot cores clip to white
breathAmtdepth of the slow breath
breathRaterate of the slow breath
usage
import { Utu } from "@usva-ui/react/atmospheres/utu";
<Utu>
<Hero />
</Utu>props
| prop | type | default | notes |
|---|---|---|---|
| children | ReactNode | — | rendered in normal flow above the field. omit for a bare orb you position yourself. |
| speed | number | 1 | rotation and breath rate multiplier. |
| interactive | boolean | false | the volume eases a lean toward the cursor. off because a hero should not chase the pointer. |
| bands | number | 5 | how many glowing bands stack through the body. |
| colors | { deep?; mid?; hot? } | — | override any stop of the dawn gradient. omitted stops keep violet valleys, magenta body, warm-gold cores. |
| accentColor | string | — | collapse the gradient to one brand colour, sunk to black in the valleys and blown toward white at the cores. |
| opacity | number | 1 | overall fog opacity. lower lets more of the page through. |
| mode | "emissive" | "absorptive" | — | forces the material. by default a dark ground emits fog and a light ground holds a damp stain. |
get it
bun add @usva-ui/reactusage
import { Utu } from "@usva-ui/react/atmospheres/utu";
<Utu className="min-h-svh">
<Hero />
</Utu>