Skip to content
WunderUI
All effectsBadge

Halo Ring

A ring of light circles the edge of a badge or button, for featured and Pro labels.

Pure CSSBadgePro

Meant for

BadgeButtonCard

Usage

On a Button

The empty span is the rim: it sits over the button's border and only the light inside it turns, as a layer, so nothing repaints and the focus ring is never clipped. The button's fill becomes --wm-surface; here it is the card colour, so the button reads as outlined in both themes.

The class is wm wm-halo-ring — the first half is the marker the trigger and reduced-motion rules hook into, the second is the effect.