Velocity X Components

Backgrounds

Gradient Border Glow

An animated glowing gradient frame that traces the edge of a card or section to single it out — a rotating ring plus soft halo, never a fill, so the content inside stays untouched.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add gradient-border-glow

Built for astro.

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.1
Gradient Border Glow

Featured plan

Pro — $49/mo

Everything in Starter, plus unlimited seats, priority support and audit logs.

Props

NameTypeRequiredDefaultDescription
colors'primary' | 'accent' | 'both'No'both'
thicknessnumberNo2
durationnumberNo6
glowbooleanNotrue
radiusstringNo'1rem'
classstringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/gradient-border-glow/GradientBorderGlow.astro

Using the Gradient Border Glow component

Install it with velocityx add gradient-border-glow. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Backgrounds.