Opens in a new tab

Text Roll

Widgets9 minutes readUpdated 6 Oct 2026

Text that animates letter by letter. It has five effects: Character roll, where every letter rolls up and out while a copy rolls in from below, Letter rise, where the text stays hidden until it plays and its letters then rise into place, slightly tilted, Slot roll, where every letter spins like a slot machine reel and lands back on itself, and Letter fade up, where the text stays hidden until it plays and each letter then fades in while rising 10px (0.4s, 0.02s apart, ease out). Use Letter fade up for headings that should appear as the page opens: set Trigger to on view and add a short Delay. The fifth, Mask rise, reveals whole lines, words or letters as they scroll into view, and can open photo slots inside a headline: see Mask rise below. Text Roll is a Free widget.

Requires: no animation library for the four letter effects (plain JavaScript and CSS). Mask rise uses GSAP with ScrollTrigger, SplitText and CustomEase, which the Bricksify companion loads by itself on the pages that use it.

Where to find it#

As an element: Elements panel › Bricksify › Text Roll. It has a Content group (Text, HTML tag, Link) and an Animation group with the settings below.

As a control group: Text Roll (Bricksify) on Heading, Basic Text, Rich Text, Text Link and Button, and Text Roll: mask rise (Bricksify) on Block and Div (Mask rise only, for a headline built from several elements). There the first setting, Animation type, starts at None; choose an effect to switch it on and show the rest. See How widgets work.

Settings#

SettingOptionsDefaultWhat it does
TextWords that roll into placeElement only. The text to animate. Accepts dynamic data.
HTML tagh1–h6, p, div, spanh2Element only.
LinkElement only. Wraps the text in a link inside the tag.
Animation typeCharacter roll, Letter rise (hidden until triggered), Slot roll, Letter fade up (hidden until triggered)Character roll (None on the control group)Which effect plays.
TriggerOn hover, On scroll (enters the viewport), On scroll, then on hover, On page load, On page load, then on hoverOn hoverWhen it plays. On scroll plays straight away if the text is already in view when the page loads.
Duration (s)1.25 for Character roll, 0.5 for Letter rise, 4 for Slot rollHow long each letter takes.
Delay (s)0 for Character roll, 0.1 for Letter riseCharacter roll: a wait before the entrance only; hover always starts at once. Letter rise: a wait before every reveal, hover included.
Active onDesktop only (992px and up), 768px and up, 479px and upAll screen sizesBelow the chosen width the text is plain, with no effect.
Stagger (s)0.03 for Character roll, 0.01 for Letter rise, 0.05 for Slot rollThe gap between one letter and the next.
Stagger fromFirst letter, Centre outwards, Last letterFirst letter (Slot roll: Centre outwards)Where the wave starts. Centre outwards starts with the middle letters, as in a menu whose words roll from the middle.
EasingExpo out, Ease in-out, Soft in-out, Spin, Ease out, LinearExpo out for Character roll, Soft in-out for Letter rise, Spin for Slot roll, Ease out for Letter fade upThe speed curve of each letter.
Roll distance (% of line)50-200120Character roll only. 100 lands the copy exactly where the letter was; more leaves a gap between the two.
Hover areaNearest link or button, This element, Parent element, Closest match of a selectorNearest link or buttonWhat the pointer has to be over. Hidden for the On scroll and On page load triggers. Nearest link or button falls back to the element itself when there is none.
Selector.card (placeholder)Shown for Closest match of a selector. Hovering the closest ancestor that matches plays the effect, for example a whole card.
Start inside viewport% or px10%For the On scroll triggers. How far above the bottom edge of the screen the text must be before it plays.
Replay when scrolled backOn / offOffFor the On scroll triggers. When the text leaves through the bottom of the screen it resets, and plays again the next time you scroll to it.

Mask rise#

Choose Mask rise as the Animation type. The text is hidden until it scrolls into view, then rises out of one mask per line: by lines, by words or by letters. Bold, italics and links inside the text stay as they are, and the lines are worked out again whenever the width changes (a reveal that has finished stays finished). Screen readers read the text once, as a whole.

SettingOptionsDefaultWhat it does
Split byLines, Words, LettersLinesWhat rises. Always through one mask per line.
Duration (s)per breakpoint0.8 lines, 0.6 words, 0.4 letters, 1.2 with photo slotsHow long each piece takes.
Stagger (s)per breakpoint0.08 lines, 0.06 words, 0.01 letters, 0.12 per line with photo slotsThe gap between one piece and the next.
EasingExpo out, Strong out, Medium out, Soft out, Gentle out, Back out, Glide, LinearExpo out (Glide with photo slots)The speed curve. Glide is a quick lift with a long soft landing.
Start below the mask (%)0-300, per breakpoint110How far below its mask each piece starts, in % of its own height.
Start inside viewport% or px20%How far above the bottom edge of the screen the top of the text must be (20% = at 80% of the screen height). Already in view on load: it plays straight away.
RepeatOnce, Play backwards when scrolled back above the startOnce (backwards with photo slots)Hidden when Lock to the scroll is on.
Lock to the scroll (scrub)On / offOffThe reveal follows the scrollbar from the start point to the end point.
Scrub end inside viewport% or px65%Scrub only. Where the reveal is complete (65% = the top of the text at 35% of the screen height).
Scrub smoothing (s)0 (0.6 with photo slots)Scrub only. Seconds the text takes to catch up with the scrollbar.
Active onDesktop only, 768px and up, 479px and upAll screen sizesBelow that width the text is plain.

Photo slots (Block and Div)#

For a headline with small photos between the words, build it from elements: a Block with HTML tag h1-h6 (custom tag) and Display block, holding Basic Text elements (tag span) for the words and Divs (tag span) that each hold an Image between them. Turn on Mask rise on the Block. Every direct child that holds an image is a photo slot: it pops in as a dot (0.5s), opens into a pill that pushes the words apart, and its photo settles from a 1.2 zoom while the lines rise. Slots on a lower line start later (line x stagger + 0.08s, + 0.1s for each earlier slot on the same line). While the page scrolls the photos drift up inside their pills, each at its own pace. Swap a photo in its Image element; duplicate a slot Div to add one.

SettingDefaultWhat it does
Slot width (em)1.7Width of an open pill, in em of the headline font size, so it scales with the text at every breakpoint.
Slot height (em)0.72Height of the pill, and the size of the dot it starts as.
Slot radius (em)0.36Corner radius; half the height is a full pill.
Photo drift (%)8How far the photos drift inside their pills while the page scrolls. 0 = still.

Without JavaScript or the companion, and with prefers-reduced-motion, the text and the open photo slots are simply shown. Nothing animates in the Bricks builder, so the text stays editable there. Templates using it: Text Reveal Manifesto and Headline Photo Pills. Demo: Text Roll demo, section 6.

How it behaves#

Character roll on hover: the letters leave upwards while copies rise from below, one after another. Character roll on scroll or on page load: the letters wait below their line and rise into place. With On scroll, then on hover or On page load, then on hover it does the entrance first, then rolls on every hover after it.

Letter rise is either an entrance or a hover reveal, never both. On hover, the text is hidden at rest, rises in when the pointer arrives and drops back out, last letter first, when it leaves. On scroll or on page load it rises in once. For Letter rise, On scroll, then on hover behaves as On scroll, and On page load, then on hover as On page load.

Slot roll: every letter becomes a little reel of copies of itself and spins up through them, landing back on itself, so the word reads the same before and after. The middle letters spin longest and last (with Stagger from: Centre outwards). It plays when the text scrolls into view (again every time with Replay on) or on page load; set to hover, it spins again on every hover.

nnnn

Keyboard focus on the hover area plays the hover effect too.

Touch screens: hover effects only run on devices with a mouse or trackpad. A Character roll set to hover simply stays still. A Letter rise set to hover is shown as plain text, because nothing could reveal it.

Only the text is split into letters, so bold text, line breaks, icons and links inside the element stay where they are. Screen readers hear the text once, as normal text.

Text set to play on scroll or on page load, and any Letter rise, is hidden for the moment before the script starts, so it never flashes and then disappears. If the script does not arrive, the text shows after 3 seconds. Nothing animates inside the Bricks builder, so the text stays editable.

Do not put Text Roll and Fold Roll on the same element; Fold Roll skips an element that already has Text Roll.

Reduced motion and without JavaScript#

For a visitor who has asked for reduced motion, the text is shown at once and never animates. Without JavaScript, or without the plugin, it is ordinary text.

Used in#

Roll List, Roll Behind and Team Wave, through the control group on native elements.