Type · word-carousel-rotator
Word carousel rotator
A fixed sentence with one swapping word — "We build [fast | safe | beautiful | scalable] apps": the word rolls like a slot machine (or blurs, flips, slides) inside an accent pill whose width glides to each new word while the rest re-centres; stacks into three lines on narrow frames.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Word carousel rotator is for
Website hero taglines, value-prop rotators, "for designers / developers / teams" audience swaps, intro slides, social hooks; set prefix, words[] and suffix.
Details
- Category
- Text animations & kinetic typography
- Length
- 7.3 s (220 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
prefix- Colour props
backgroundinkaccentpillInk- Mood
- 3d, ui
- Roles
- type, accent
Use Word carousel rotator in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add word-carousel-rotator --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render word-carousel-rotator --props '{"prefix":"We build","background":"#F5F1E8","ink":"#16130F","accent":"#FF5A36","pillInk":"#FFFFFF"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export word-carousel-rotator --as webm-alpha --props '{"prefix":"We build","background":"#F5F1E8","ink":"#16130F","accent":"#FF5A36","pillInk":"#FFFFFF"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="word-carousel-rotator"
props={{
prefix: 'We build',
background: '#F5F1E8',
ink: '#16130F',
accent: '#FF5A36',
pillInk: '#FFFFFF',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="word-carousel-rotator"
props='{"prefix":"We build","background":"#F5F1E8","ink":"#16130F","accent":"#FF5A36","pillInk":"#FFFFFF"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "word-carousel-rotator",
"props": {
"prefix": "We build",
"background": "#F5F1E8",
"ink": "#16130F",
"accent": "#FF5A36",
"pillInk": "#FFFFFF"
}
}
]
}Word carousel rotator props
19 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
prefix | "We build" | static text before the swapping word ("" for none) |
words | ["fast","secure","beautiful","scalable"] | the words that rotate, in order |
suffix | "apps" | static text after the swapping word ("" for none) |
layout | "auto" | auto (inline if it fits, otherwise stacked) | inline | stacked |
transition | "roll" | roll | blur | flip | slide — how one word replaces another |
pill | true | put the word on an accent pill (false = accent-coloured text) |
anchor | "center" | center (sentence re-centres as the word width changes) | prefix (prefix stays put) |
loop | true | wrap back to the first word after the last (false = hold the last word) |
startAt | 14 | frame the first word rolls in |
interval | 50 | frames each word stays (min transitionFrames + 4) |
transitionFrames | 14 | frames each swap takes |
font | "sans" | font role |
size | 150 | max font size in u; shrinks to fit the frame |
weight | 800 | font weight |
tracking | -0.01 | letter spacing in em |
background | "#F5F1E8" | background colour; "transparent" for an overlay |
ink | "#16130F" | colour of the fixed text |
accent | "#FF5A36" | pill / word colour |
pillInk | "#FFFFFF" | word colour when on the pill |
Related motions

Typewriter delete & retype
Hero taglines that cycle ("Built to be fast / secure / simple"), search-box and prompt demos, "we help X do Y" rotators, chat/AI typing…
typewriter-delete-retype
Outline to fill text
Bold website hero words, section titles, poster-style stat words, title cards and reel openers; works as a looping brand headline.
outline-to-fill-text
Per-letter wave
Playful titles, loading and waiting states, "hello" greetings, party / music / kids content, website hero words, looping caption accents;…
per-letter-wave
Stacked repeat echo
Bold poster-style hero words, music / fashion / sport titles, repeating-text backdrops behind a subject, section openers; replace the text…
stacked-repeat-echo
Text scramble decode
Hacker / cyber / AI reveals, tech product titles, "secret message" stings, section headers on dark sites, caption reveals; replace the…
text-scramble-decode
Text on a circle, spinning
Badge / seal / stamp logos, rotating "coming soon" or "limited edition" rings, music and podcast discs, circular text backdrops, loaders,…
text-on-circle-spin
Notes & credits
Technique sources:
- original — generic kinetic-type effect (R3)