Glow

Glow Section

Dark section wrapper lit by a Glow Rig lamp with optional film grain over a fixed near-black ground. Passes the bulb color to cards inside; lamp position, intensity and grain are configurable.

The source comes with full access.

One payment of $149 ($49 for now) opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/glow-section
npx shadcn add @01orbital/glow-section
yarn shadcn add @01orbital/glow-section
bunx --bun shadcn add @01orbital/glow-section

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/glow/glow-section.tsx, as source you own and edit.

Usage

import { GlowSection } from "@/components/glow/glow-section"

// The lit room on its own: the ground, the lamp above the top edge, the grain.
export default function GlowSectionDemo() {
  return (
    <GlowSection
      position="top-right"
      className="h-96 w-full max-w-3xl rounded-3xl"
    />
  )
}

API reference

Prop

Type

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

Dependencies

npm: cn. The CLI installs them for you.

Registry pieces it installs with it: