Back to components
ComponentEffectFree

Orbiting Border Glow React component

A border that a beam of light runs around: a bright conic streak orbits the edge of any card, button or badge, a soft halo of the same light spills outside it, and the beam picks up speed smoothly while you hover.

About the Orbiting Border Glow component

Orbiting Border Glow sends a streak of light around the edge of anything you wrap in it — a pricing card, a button, a status pill — while a soft halo of the same colour glows just outside, following the beam as it goes.

Hover it and the beam speeds up smoothly, then eases back when you leave. The light only moves while the element is on screen, and stays still with reduced motion turned on.

When to use it

Use it to point at one thing: the recommended plan, an AI or 'new' button, a live status, a featured card in a grid.

One or two per screen is plenty; a page full of orbiting borders stops pointing at anything.

Installation

Add the Orbiting Border Glow component to your project with the shadcn CLI. It lands in components/orbiting-border-glow.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/orbiting-border-glow

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install clsx tailwind-merge

More Effect components

Target Lock Cursor
Free
Magnetic Button
Free
Fluid Ink Cursor
Free
Click Burst
Free
Photo Trail Cursor
Free
Image Mask Reveal
Free