Skip to content
UIGrammer
EN 中文

Animation · Attention · 20

Glow Border

Glow Border = an animated conic-gradient ring that rotates around an element to signal a live, active, or premium state.

Skip to the modify prompt

Live

Respects prefers-reduced-motion: the animation is disabled and the final state is shown.

What is a Glow Border?

A glow border wraps an element in a ring of light that slowly rotates — a conic gradient spun behind the content. It reads as 'live', 'premium', or 'on'. Because the motion is a transform on a pseudo-element, it stays on the compositor. Use it sparingly: a border that always moves everywhere is just noise.

Animation Specimen

Trigger
mount
Tech
css
Duration
4s
Easing
linear
Performance
transform

When to use

  • Live / recording / 'on' indicators
  • Premium or featured card frames

Avoid when

  • On every card — it stops meaning anything
  • Around dense text where the motion distracts

The motion lives on a pseudo-element, so the box stays still and the effect stays cheap.

See also

Add a glow border: a rotating conic-gradient ::before behind the content, transform: rotate only.