Glow

Glow Line

Thin glowing line with layered bloom, horizontal or vertical, positioned along its parent. Amber, rose and ice presets; it glows on dark themes and turns into a shaded ink line on light ones.

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-line
npx shadcn add @01orbital/glow-line
yarn shadcn add @01orbital/glow-line
bunx --bun shadcn add @01orbital/glow-line

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-line.tsx, as source you own and edit.

Usage

import { GlowLine } from "@/components/glow/glow-line"

export default function GlowLineDemo() {
  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 h-72 w-full max-w-2xl overflow-hidden rounded-lg">
        <GlowLine preset="rose" position="52%" />
      </div>
    </div>
  )
}

API reference

Prop

Type

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

Dependencies

npm: cn. The CLI installs them for you.

No other registry pieces.