Launchable Motion

Components / Text

Text wave

Use it when a sentence should be read word by word: words land in light grey one after another, then a colour wave runs left to right turning each word accent, then ink.

Install

With this registry set in hyperframes.json (see the docs):

npx hyperframes add text-wave

Use it in a composition

It fills whatever box you give it, so set the host element's size and position. Set values withdata-variable-values.

<div data-composition-id="text-wave" data-composition-src="compositions/text-wave.html"
     data-start="0" data-duration="2.4" data-track-index="1"
     style="position:absolute;left:0;top:0;width:1920px;height:1080px"></div>

Variables

VariableTypeDefaultWhat it changes
textstringGenerate any brand assetThree to eight words.
alignleft, center, rightleftWhere the text sits.
sizenumber10Font size as percent of the host height.
accentcolor#7b2f8eFocus word colour.
greycolor#c9c4c8Colour on landing.
greyDarkcolor#6a6467Colour before the wave arrives.
groundcolortransparentBackground; transparent to overlay.
inkcolor#1a1418Resolved text colour.
fontfont"Instrument Serif",Georgia,serifDisplay face. Instrument Serif ships with the component.
wordIntervalnumber0.16Seconds between landings.
waveStepnumber0.13Seconds between focus moves.
exitfade, nonefadefade or none.