Type · outline-to-fill-text
Outline to fill text
A headline appears as hollow outlined letters, then each letter floods with solid colour one after another — rising like liquid with a wavy surface or wiping up, down, left or right (optional top-to-bottom gradient) — and can drain back to an outline; long text wraps and shrinks to fit.
A free, MIT-licensed text animation from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Outline to fill text is for
Bold website hero words, section titles, poster-style stat words, title cards and reel openers; works as a looping brand headline.
Details
- Category
- Text animations & kinetic typography
- Length
- 5.7 s (170 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
textsubtitle- Colour props
backgroundoutlinefillsubtitleColor- Mood
- nature, playful, ui
- Roles
- type, accent
Use Outline to fill text in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add outline-to-fill-text --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render outline-to-fill-text --props '{"text":"Make it count","subtitle":"","background":"#0E0E12","outline":"#F4F0E6","fill":"#FF4D2E","subtitleColor":"#BDB8AA"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export outline-to-fill-text --as webm-alpha --props '{"text":"Make it count","subtitle":"","background":"#0E0E12","outline":"#F4F0E6","fill":"#FF4D2E","subtitleColor":"#BDB8AA"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="outline-to-fill-text"
props={{
text: 'Make it count',
subtitle: '',
background: '#0E0E12',
outline: '#F4F0E6',
fill: '#FF4D2E',
subtitleColor: '#BDB8AA',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="outline-to-fill-text"
props='{"text":"Make it count","subtitle":"","background":"#0E0E12","outline":"#F4F0E6","fill":"#FF4D2E","subtitleColor":"#BDB8AA"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "outline-to-fill-text",
"props": {
"text": "Make it count",
"subtitle": "",
"background": "#0E0E12",
"outline": "#F4F0E6",
"fill": "#FF4D2E",
"subtitleColor": "#BDB8AA"
}
}
]
}Outline to fill text props
21 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
text | "Make it count" | the headline (\n = forced break; wraps and shrinks to fit) |
subtitle | "" | optional small line under the headline |
font | "display" | font role (heavy display faces read best) |
size | 190 | max font size in u; shrinks to fit |
weight | 400 | font weight |
tracking | 0.01 | letter spacing in em |
textCase | "upper" | upper | none |
direction | "up" | wipe direction: up | down | left | right (liquid always rises) |
surface | "liquid" | liquid (wavy rising surface) | wipe (hard straight edge) |
fillDelay | 14 | frames after the outline appears before the first fill starts |
stagger | 2.6 | frames between neighbouring letters starting to fill |
fillFrames | 24 | frames one letter takes to fill |
startAt | 6 | frame the outline starts appearing |
cycle | "fill-unfill" | fill (stay filled) | fill-unfill (drain back to outline at the end) |
holdFilled | 34 | frames the filled text holds before it drains |
stroke | 0.03 | outline weight as a fraction of the font size |
background | "#0E0E12" | background colour; "transparent" for an overlay |
outline | "#F4F0E6" | outline colour |
fill | "#FF4D2E" | fill colour |
fill2 | "" | optional second colour: fill becomes a top-to-bottom gradient per letter ("" = solid) |
subtitleColor | "#BDB8AA" | subtitle colour |
Related motions

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
Word carousel rotator
Website hero taglines, value-prop rotators, "for designers / developers / teams" audience swaps, intro slides, social hooks; set prefix,…
word-carousel-rotator
Per-letter wave
Playful titles, loading and waiting states, "hello" greetings, party / music / kids content, website hero words, looping caption accents;…
per-letter-wave
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
Kinetic type slam (phrases)
Hooks for shorts, launch films, manifestos and title sequences: pass `lines` (accent word per line), pick `layout`, set `beatFrames` to…
kinetic-type-slam
Notes & credits
Technique sources:
- original — generic kinetic-type effect (R3)