Skip to Content

Window Light Scene

Window light background scene: diagonal bands of warm sunlight falling across a dark wall, with an offset haze and corner glow fading into shadow under soft grain. Adjust the beam spacing. A moody hero backdrop.

Installation

pnpm dlx shadcn@latest add @01orbital/window-light-scene

Usage

import { WindowLightScene } from "@/components/scene/window-light-scene"

export default function Example() {
  return <WindowLightScene />
}

Examples

Wide Paneswindow-light-scene-wide-panes

Window Light Scene Wide Panes: an example of window-light-scene.

pnpm dlx shadcn@latest add @01orbital/window-light-scene-wide-panes

API reference

Full-bleed art layer — drop inside a relative parent; sits behind content.

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs it for you.

Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

Last updated on