Skip to Content

Dual Rim Scene

Eclipse planet background: a dark orb on a near-black ground, rim-lit warm on one side and cool on the other with layered inset shadows. Size, offset and both rim colors adjust; the ground can be dropped.

Installation

pnpm dlx shadcn@latest add @01orbital/dual-rim-scene

Usage

import { DualRimScene } from "@/components/scene/dual-rim-scene"

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

Examples

Violet Golddual-rim-scene-violet-gold

Dual Rim Scene Violet Gold: an example of dual-rim-scene.

pnpm dlx shadcn@latest add @01orbital/dual-rim-scene-violet-gold

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.

Last updated on