# Glow Rig

Picture light overlay for dark sections: a full-bleed lighting layer hangs one hooded lamp above the top edge, screen blended. Overhead or corner placement, intensity and bulb color; needs a dark ground and a positioned parent.

Component · Glow · https://01orbital.dev/docs/components/glow-rig

## Installation

```bash
npx shadcn@latest add @01orbital/glow-rig
```

## Usage

```tsx
"use client"

import { useState } from "react"

import {
  GlowRig,
  type RigPosition,
} from "@/components/glow/glow-rig"
import { GrainVeil } from "@/components/texture/grain-veil"
import { ToggleGroup, ToggleGroupItem } from "@/components/ui/toggle-group"

// Every word on the page. Change copy here, not in the markup.
const COPY = {
  lamp: "Lamp",
} as const

const POSITIONS: { value: RigPosition; label: string }[] = [
  { value: "top-left", label: "Left" },
  { value: "overhead", label: "Center" },
  { value: "top-right", label: "Right" },
]

// The rig is the lamp, the ground is the wall; the toggle moves the lamp.
export default function GlowRigDemo() {
  const [position, setPosition] = useState<RigPosition>("overhead")
  return (
    <div className="dark relative isolate grid min-h-full w-full flex-1 place-items-center overflow-hidden bg-background text-foreground">
      <GlowRig position={position} />
      <GrainVeil blend="overlay" opacity={0.15} />
      <ToggleGroup
        aria-label={COPY.lamp}
        value={[position]}
        onValueChange={(values) => {
          const next = POSITIONS.find((p) => p.value === values[0])
          if (next) setPosition(next.value)
        }}
        className="relative z-10"
      >
        {POSITIONS.map(({ value, label }) => (
          <ToggleGroupItem key={value} value={value}>
            {label}
          </ToggleGroupItem>
        ))}
      </ToggleGroup>
    </div>
  )
}
```

This example installs with everything it uses:

```bash
npx shadcn@latest add @01orbital/glow-rig-demo
```

## API reference

A hooded picture light hung above the top edge, washing light down over its parent and fading toward the bottom. It is screen-blended, so it needs a dark ground, and it fills a `relative` parent.

The light is the `lit-layer` utility from globals.css; the props set its CSS variables. It ignores the pointer and is hidden from assistive tech.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `position?` | `RigPosition` | `"overhead"` | Where the lamp hangs along the top edge: centered, toward the left or toward the right. |
| `intensity?` | `number` | `1` | Lamp brightness. 1 is the tuned default, 0.6 subtle, 1.4 strong. Values above about 2.9 add nothing more. |
| `keyColor?` | `string` |  | The bulb color, as any CSS color or a bare RGB triplet such as "255 240 220". Defaults to a pale blue. |

## Dependencies

npm: `cn`

## Examples

- **Glow Rig Watch Cases** (`@01orbital/glow-rig-watch-cases`): Product card row example showing GlowRig: three watch case cards in steel, yellow gold and rose gold under a gold light at the top right, with a serif case name and price.
- **Glow Rig Whisky Bottlings** (`@01orbital/glow-rig-whisky-bottlings`): Product card row example showing GlowRig: three whisky bottling cards on warm metal under an amber light at the top right, each with a name, strength, cask and tasting note.
- **Glow Rig Groupset Tiers** (`@01orbital/glow-rig-groupset-tiers`): Product tiers example showing GlowRig: three bicycle groupset cards on ember metal under an orange light at the top right, each with a name, weight, description, price and compare button.
- **Glow Rig Brass Keyboard Offer** (`@01orbital/glow-rig-brass-keyboard-offer`): Product offer example showing GlowRig: one brass-toned card for a limited keyboard run, with a price and reserve button, lit by a gold overhead light.
- **Glow Rig Battery Install Offer** (`@01orbital/glow-rig-battery-install-offer`): Offer card example showing GlowRig: one steel-blue card for a fixed-price home battery install, with a price, three included items and a survey button under an overhead light.
- **Glow Rig Steel Trust Strip** (`@01orbital/glow-rig-steel-trust-strip`): Trust strip example showing GlowRig: a blue-steel band with a headline and four certification figures, lit from above by a pale blue light with no cards.
- **Glow Rig Gold Price Strip** (`@01orbital/glow-rig-gold-price-strip`): Price strip example showing GlowRig: a gold band with a headline and four live metal prices, lit from above by a gold light with no cards.
- **Glow Rig Response Retainer Hero** (`@01orbital/glow-rig-response-retainer-hero`): Hero example showing GlowRig: an incident response retainer page under a cold white-blue overhead light, with a headline, supporting line and two buttons.

## Used in blocks

- [Brand Tiles](https://01orbital.dev/docs/blocks/brand-tiles-01)
- [Cardstock Notice CTA](https://01orbital.dev/docs/blocks/cta-11)
- [Closing CTA](https://01orbital.dev/docs/blocks/closing-cta-01)
- [Dark Glow Rig Pricing](https://01orbital.dev/docs/blocks/three-plan-pricing-05)
- [Four Stats under Glow Rig](https://01orbital.dev/docs/blocks/stats-row-01)
- [Glow Rig Icon Logo Cloud](https://01orbital.dev/docs/blocks/logo-cloud-04)
- [Glow Rig Testimonial](https://01orbital.dev/docs/blocks/single-testimonial-01)
- [Glow Rig Testimonial with Logo](https://01orbital.dev/docs/blocks/single-testimonial-02)
- [Glow Rig Wordmark Logo Cloud](https://01orbital.dev/docs/blocks/logo-cloud-01)
- [Member Card](https://01orbital.dev/docs/blocks/member-card-01)
- [Metered Pricing](https://01orbital.dev/docs/blocks/metered-pricing-01)
- [Neon Wall](https://01orbital.dev/docs/blocks/neon-wall)
- [Product Cards](https://01orbital.dev/docs/blocks/product-cards-01)
- [Rate Card Pricing](https://01orbital.dev/docs/blocks/rate-card-pricing-01)
- [Soloist Testimonial](https://01orbital.dev/docs/blocks/soloist-testimonial-01)
- [Variant Tiles](https://01orbital.dev/docs/blocks/variant-tiles-01)
