Glow BorderPRO
A light that runs around any element's border while the model is working.
Code
1 file · 105 lines of TypeScriptPRO
Glow Border is part of Pro
Get its source, the one-paste agent prompt and all 113 components, for a one-time $99.
Motion notes
- The light follows the rounded outline at an even speed, a bright head with a fading tail, drawn as SVG strokes.
- A crisp 1px line plus a blurred, thicker copy for the bloom, both from the same comet.
- Takes a radius token name, so it matches whatever it wraps.
- Fades in and out on a slow tween instead of snapping on and off.
Usage
Example
<GlowBorder active={isGenerating}>
<PromptInput />
</GlowBorder>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| active | boolean | true | Shows the glow. |
| radius | string | "input" | Radius token name. |
| duration | number | 4 | Seconds per lap. |