Side Glow
Soft blue radial glow anchored to one edge of a positioned parent: top, right, bottom or left. Ships with SeamLine, a one-pixel overlay-blended rule for marking a panel edge.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn add @01orbital/side-glownpx shadcn add @01orbital/side-glowyarn shadcn add @01orbital/side-glowbunx --bun shadcn add @01orbital/side-glowPart 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/side-glow.tsx, as source you own and edit.
Usage
import { SeamLine, SideGlow } from "@/components/glow/side-glow"
// The glow and its seam on one edge of a panel.
export default function SideGlowDemo() {
return (
<div className="dark relative isolate grid min-h-full w-full flex-1 place-items-center overflow-hidden bg-background text-foreground">
<div className="relative isolate h-72 w-full max-w-md">
<SideGlow edge="right" />
<SeamLine className="inset-y-0 right-0" />
</div>
</div>
)
}Anatomy
Side Glow is built from 2 parts. In the example they nest like this:
SideGlow
SeamLineSideGlow: A soft blue glow that comes in from one edge of a section, for the background behind its content. Put it inside a positioned parent: it fills that parent, clips itself to it, ignores the pointer and is hidden from assistive tech.SeamLine: A one-pixel vertical line of white, blended in overlay mode so it lightens the surface under it. It is decorative and hidden from assistive tech.
API reference
SideGlow
A soft blue glow that comes in from one edge of a section, for the background behind its content. Put it inside a positioned parent: it fills that parent, clips itself to it, ignores the pointer and is hidden from assistive tech.
Prop
Type
It also accepts the HTML attributes of the element it renders.
SeamLine
A one-pixel vertical line of white, blended in overlay mode so it lightens the surface under it. It is decorative and hidden from assistive tech.
It is absolutely positioned with no height of its own: place it with className, for example inset-y-0 right-0.
It accepts the HTML attributes of the element it renders.
Dependencies
npm: cn. The CLI installs them for you.
No other registry pieces.
More Glow
Rim Glow
Wrapper that rims its content with a currentColor glow inside and out, in dim, steady or breathing states. Can also cover the viewport as a presence overlay; breathing holds steady under reduced motion.
Stars
Seeded canvas starfield that fills a positioned parent with a mix of sharp and soft stars. Optional twinkle and fade-in respect reduced motion, and a circular cutout can hide stars behind an orb.