Light Shafts Scene
God rays background: volumetric light shafts, twelve blurred beams fanning down from a glowing aperture through a dark blue ground. One color drives every alpha; the optional pulse stops under reduced motion.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/light-shafts-scenenpx shadcn@latest add @01orbital/light-shafts-sceneyarn dlx shadcn@latest add @01orbital/light-shafts-scenebunx --bun shadcn@latest add @01orbital/light-shafts-sceneUsage
import { LightShaftsScene } from "@/components/scene/light-shafts-scene"
export default function LightShaftsSceneDemo() {
return (
<div className="grid h-svh w-full place-items-center p-6">
<LightShaftsScene animate />
</div>
)
}This example installs with everything it uses:
pnpm dlx shadcn@latest add @01orbital/light-shafts-scene-demonpx shadcn@latest add @01orbital/light-shafts-scene-demoyarn dlx shadcn@latest add @01orbital/light-shafts-scene-demobunx --bun shadcn@latest add @01orbital/light-shafts-scene-demoAPI reference
Blurred light shafts fanning down from a glowing aperture through a dark ground. One color drives every alpha; the optional pulse stops under reduced motion.
Prop
Type
It also accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs it for you.
Used in blocks
One block is built with Light Shafts Scene.
Last updated on