Skip to Content

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.

View as Markdown
pnpm dlx shadcn add @01orbital/glow-rig

The example also uses grain-veil and toggle-group. Install them too:

pnpm dlx shadcn add @01orbital/grain-veil @01orbital/toggle-group

Usage

import { GlowRig } from "@/components/glow/glow-rig"

Examples

Charging Plansglow-rig-charging-plans

Pricing cards example showing GlowRig: three charging-network plans on teal metal under one overhead teal light, each with a plan name, price, rate and two perks.

pnpm dlx shadcn add @01orbital/glow-rig-charging-plans

Audio Interfacesglow-rig-audio-interfaces

Product card row example showing GlowRig: three audio interface cards on copper metal lit by an amber light from the top left, each with a model, spec line, note, price and cart button.

pnpm dlx shadcn add @01orbital/glow-rig-audio-interfaces

Launch Ratesglow-rig-launch-rates

Rate card example showing GlowRig: three launch pricing cards on greyscale metal under a white overhead light, each with a payload class, a price per kilogram or flight and a short note.

pnpm dlx shadcn add @01orbital/glow-rig-launch-rates

Watch Casesglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-watch-cases

Whisky Bottlingsglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-whisky-bottlings

Groupset Tiersglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-groupset-tiers

Lens Mount Tilesglow-rig-lens-mount-tiles

Tile row example showing GlowRig: six small metal tiles for camera lens mounts with stock notes, lit across the row by one violet overhead light.

pnpm dlx shadcn add @01orbital/glow-rig-lens-mount-tiles

Stockist Tilesglow-rig-stockist-tiles

Brand tile row example showing GlowRig: six small metal tiles naming the makers a hi-fi shop stocks, lit across the row by one warm amber overhead light.

pnpm dlx shadcn add @01orbital/glow-rig-stockist-tiles

Titanium Member Cardglow-rig-titanium-member-card

Membership card example showing GlowRig: a single titanium bank card with a chip and member details, lit by a pale overhead light, with a short pitch underneath.

pnpm dlx shadcn add @01orbital/glow-rig-titanium-member-card

Brass Keyboard Offerglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-brass-keyboard-offer

Battery Install Offerglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-battery-install-offer

Steel Trust Stripglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-steel-trust-strip

Gold Price Stripglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-gold-price-strip

Soloist Testimonialglow-rig-soloist-testimonial

Testimonial example showing GlowRig: a pianist's quote on a near-black section under a warm white overhead light, with grain and a large serif quote.

pnpm dlx shadcn add @01orbital/glow-rig-soloist-testimonial

Response Retainer Heroglow-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.

pnpm dlx shadcn add @01orbital/glow-rig-response-retainer-hero

Centered Closing CTAglow-rig-tailor-closing-cta

Closing call to action example showing GlowRig: a centered CTA for a bespoke tailor under a warm overhead light, with a serif headline and one button.

pnpm dlx shadcn add @01orbital/glow-rig-tailor-closing-cta

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

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

Dependencies

npm: cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Used in blocks

9 blocks are built with Glow Rig: