Skip to content
WunderUI
All effectsKPI

Swap Word

Words take turns in the same spot, for rotating claims and labels.

Pure CSSKPIPro

Meant for

KPIEmpty StateNavbar claim

Usage

On a Card title

One slot, three words taking turns, inside a CardTitle at its own size. The words are grid-stacked so they stay in flow and the slot keeps a real baseline — overflow: hidden would take that baseline away and drop the word off the line, so clip-path does the hiding instead.

Build fasterbettercalmer
One install for the whole design system.

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