Solar Corona — React Animated Background
A blazing sun disk crowned with streaming corona light — a limb-darkened photosphere with boiling granulation, red-shifted rim, fbm streamers and long polar plumes over a star field.

Usage
import { SolarCorona, SOLAR_CORONA_PRESETS } from "@/components/SolarCorona";
export function SunHero() {
return (
<section style={{ position: "relative", minHeight: "100dvh" }}>
<SolarCorona {...SOLAR_CORONA_PRESETS.gold}
{...{
interactive: true,
speed: 1,
intensity: 1,
rays: 18,
corona: 1,
from: "#fff6d8",
to: "#ffb347",
accent: "#ff5470"
}}
/>
<div style={{ position: "relative", zIndex: 1, padding: "8rem 2rem" }}>
<h1>Do not look directly</h1>
</div>
</section>
);
}Implementation notes & API
Purpose: solar-disc backdrop — granulation boils slowly while fbm-modulated streamers ray outward with radial falloff and an angular pattern of polar plumes. Mount: full-bleed layer behind content; the star field is opaque. Props: speed, intensity, rays (streamer count), corona (halo reach), granulation, from/to/accent (core, photosphere, chromosphere colors). Pointer: interactive is off by default; set it and the star backdrop parallaxes against the sun. Guardrails: WebGPU required with fallback prop; reduced motion holds one frame; keep copy off the disk itself.
| Property | Type | Notes / default |
|---|---|---|
interactive | boolean | false in the library; enabled in this preview |
fallback | ReactNode | Shown when the renderer is unavailable |
className / style | string / CSSProperties | Applied to the outer container |