Spectra Noise
Luminous aurora folds, soft teal halos, and pale green edges drifting through deep shadow, finished with fine grain and moving scanlines.
Installation#
pnpm dlx shadcn@latest add @davinciui/spectra-noiseUsage#
API Reference#
| Prop | Type | Default |
|---|---|---|
hueShiftBase hue rotation in degrees. 0 preserves the selected colors. | number | 0 |
noiseIntensityFine cinematic grain strength. 0 disables it. | number | 0.35 |
scanlineDensityHorizontal scanline frequency. | number | 1.5 |
scanlineIntensityHorizontal scanline modulation strength. | number | 0.25 |
warpAmountStrength of domain distortion. 0 is almost smooth, 2 is surreal. | number | 1 |
animationSpeedRate of internal time evolution. Set to 0 to freeze the field. | number | 0.35 |
resolutionScaleCanvas backing-store multiplier (0.5–1.5). Lower values trade quality for speed. | number | 1 |
pausedFreeze the animation loop and hold the current frame. | boolean | false |
seedNoise field seed. Changing it recomposes the layout. | number | 7 |
backgroundColorNear-black base color behind the luminous field. | string | "#03090b" |
glowColorMain color of the luminous field (six-digit hex). | string | "#127c74" |
highlightColorColor of the brightest areas (six-digit hex). | string | "#c5f58a" |
effectIntensityOverall strength of the luminous masses. | number | 1 |
maxDprMaximum device pixel ratio used by the canvas backing buffer. | number | 2 |
classNameAdditional classes applied to the full-size background layer. | string | — |
Accessibility#
The effect container and fallback gradient are aria-hidden with pointer-events-none, so screen readers skip the canvas entirely. It is decorative only and exposes no labels, focus targets, or content.
Motion#
Shader time advances by animationSpeed; paused or zero speed freezes the field, and rendering also stops offscreen or on hidden tabs. prefers-reduced-motion is detected initially and on change, halting the loop at a static frame.
Known constraints#
- Requires WebGL. If the context is unavailable the component renders its fallback state.
- Invalid hex colors are replaced with defaults instead of throwing.
- Reduced motion stops the noise animation while keeping the surface visible.
About Spectra Noise#
Luminous teal folds with pale green edges, suspended in deep shadow.
Two layers of light drift at different speeds, creating a sense of depth. Soft halos, fine grain, and moving scanlines give the surface a cinematic texture, with darker space between the folds for your content.
Hue Shift recolors the field in-shader while the black background and luminance hierarchy stay intact. Warp Amount bends the silhouettes from calm atmosphere to surreal folding, and Animation Speed drives internal evolution rather than sliding the texture.
Controls#
- Colors customize the glow, highlights, and background independently in Personalize.
- Hue Shift rotates the spectrum from the default teal and mint palette through the full color wheel.
- Noise Intensity controls fine cinematic grain over the macro field.
- Scanline Density / Intensity tune the subtle horizontal scanline texture.
- Warp Amount controls the strength of domain distortion.
- Animation Speed controls how fast the field evolves internally.
- Resolution Scale trades render sharpness for performance.
- Seed recomposes the field layout without touching anything else.
Best For#
Dark cinematic heroes, sci-fi product launches, atmospheric section backgrounds, album and editorial covers, and anywhere a restrained alien glow should sit behind content.
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.

