UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { GodRays } from "@/components/cortiz/god-rays/god-rays";
export default function Background() {
return (
<GodRays
className="h-svh w-full"
coreColor="#ffb06a"
midColor="#e5973d"
rimColor="#ffb877"
accentColor="#ffd9a3"
backgroundColor="#54447a"
ceilingColor="#6f68b8"
horizonColor="#ffa56e"
zenithColor="#5d3f86"
cloudColor="#5b3d73"
cloudEdgeColor="#e07a86"
cloudRimColor="#ffd690"
cloudDensity={0.55}
sunHeight={16}
sunAzimuth={56}
lightElevation={20}
sunIntensity={2.2}
shadowSoftness={2}
ambientIntensity={0.14}
ceilingIntensity={0.74}
albedo={1}
windowShafts={true}
shaftIntensity={0.37}
shaftDensity={0.2}
shaftDust={0.5}
screenSpaceRays={true}
raysIntensity={2.33}
raysFalloff={0.896}
dust={true}
dustCount={4100}
dustSize={0.05}
dustBrightness={0.84}
dustDrift={0.08}
bloomIntensity={0.35}
bloomThreshold={0.68}
grade={true}
gradeColor="#7743b2"
gradeAmount={0.14}
/>
);
}Colours
Controls
An anime classroom at sunset: the window frames cut the light into shafts that are raymarched through the room, a screen-space fan of rays pours off the sun through the glass, and dust only glitters where a beam catches it. By Christian Ortiz (Cortiz), MIT.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| coreColor | string (hex colour) | "#ffb06a" | Sunlight |
| midColor | string (hex colour) | "#e5973d" | Light shafts |
| rimColor | string (hex colour) | "#ffb877" | Sun rays tint |
| accentColor | string (hex colour) |
More from Stylized Components
Remix
Anime Water
More in 3D Scenes
View all
RemixPebble Cluster










