Word Rotator
One word in the sentence keeps flipping to the next
Build itfaster
Create a word rotator inside a headline. A fixed sentence where one slot cycles through a list of words (e.g. 'Build it faster / smoother / bolder / alive'), flipping to the next word every 2 seconds. Implementation: the rotating slot is an inline-block span with overflow: hidden, a fixed height of about 1.15em, and a min-width wide enough for the longest word (so the sentence never reflows). Inside it, the current word exits upward (translateY(-100%) + fade, 350ms) while the next enters from below (translateY(100%) to 0 + fade), both with cubic-bezier(0.22, 1, 0.36, 1). Color the rotating word in the accent color. Pause the rotation when the tab is hidden (or rely on interval throttling), and if prefers-reduced-motion is enabled, show the first word statically with no cycling. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.