Opus Motion ★ Star on GitHub

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.

Word carousel rotator: three frames of the text animation, start, middle and end
Word carousel rotator — start, middle and end of the 7.3-second motion.

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.

  • text
  • word
  • rotator
  • carousel
  • swap
  • hero
  • headline
  • tagline
  • website
  • slot
  • roll
  • typography
  • kinetic
  • value-prop
  • overlay

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
background ink accent pillInk
Mood
3d, ui
Roles
type, accent

Use Word carousel rotator in Remotion, React or HTML

Remotion project

terminal
# 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

tsx
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

html
<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)

json
{
  "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.

PropDefaultWhat 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
pilltrueput 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)
looptruewrap back to the first word after the last (false = hold the last word)
startAt14frame the first word rolls in
interval50frames each word stays (min transitionFrames + 4)
transitionFrames14frames each swap takes
font"sans"font role
size150max font size in u; shrinks to fit the frame
weight800font weight
tracking-0.01letter 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

Notes & credits

Technique sources:

  • original — generic kinetic-type effect (R3)