Skip to content

Word Rotate

WordRotate cycles through a list of words, animating each one in and out with a fade and slide effect.

Basic usage

We build
Tailwind v4
vue
<div style="display:flex;gap:8px;">
  <span>We build</span>
  <WordRotate :words="['products', 'experiences', 'software', 'interfaces']" />
</div>

Fast rotation

Tailwind v4
vue
<WordRotate :words="['Fast', 'Snappy', 'Quick', 'Rapid']" :interval="1000" />

Slow with longer transition

Tailwind v4
vue
<WordRotate
  :words="['Elegant', 'Refined', 'Polished']"
  :interval="4000"
  :animation-duration="600"
/>

Props

PropTypeDefaultDescription
wordsstring[]Array of words to cycle through
intervalnumber2500Milliseconds between rotations
animationDurationnumber300Transition duration in ms for fade/slide

Private — Jetpack Labs internal use only