Skip to content
WunderUI
All effectsButton

Live Wire

A glowing coloured ring runs around the button, for a call to action that should stand out.

Pure CSSButton

Meant for

ButtonCardIcon Button

Usage

On a Icon Button

On a small square target the ring is the whole component, so keep it slow — at 2.2s it reads as alive, at 0.8s it reads as an error state. The two empty spans are the ring and its glow; the glow sits behind the icon and the button's own fill is repainted over the middle, so it only shows around the edge.

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