Skip to Content

Panel Scene

Stage lighting background: nine vertical stripes fading from a lit teal top to a dark base, brightest at the center, with a top glow and grain. OKLCH colors override the base, center column and glow.

Installation

pnpm dlx shadcn@latest add @01orbital/panel-scene

Usage

import { PanelScene } from "@/components/scene/panel-scene"

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

Examples

Magenta Over Charcoalpanel-scene-magenta-over-charcoal

Panel Scene example: nine magenta panels fading down into a charcoal ground, with a red glow at the top center and the scene's own grain.

pnpm dlx shadcn@latest add @01orbital/panel-scene-magenta-over-charcoal

API reference

Nine vertical stripes fading from a lit top to a dark base, brightest at the center, with a top glow and grain. Full-bleed art layer: drop it inside a relative parent; it 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.

Used in blocks

One block is built with Panel Scene.

Last updated on