Fades in.
<div data-cue="fade">…</div>data-cue
Things arriving as they scroll into view, or on load, hover or click. One attribute on any element, at any level of nesting.
Fades in.
<div data-cue="fade">…</div>Fades in while rising into place. Also fade-down, fade-left and fade-right.
<section data-cue="fade-up">…</section>Fades in while moving to the left into place (fade-right moves the other way).
<div data-cue="fade-left">…</div>Grows slightly as it fades in.
<div data-cue="scale-in">…</div>Comes into focus as it fades in. Best on small elements.
<div data-cue="blur-in">…</div>A mask sweeps open across it.
<img data-cue="wipe" data-cue-from="left" src="…" alt="…">Plays an effect on each child in turn, for lists and grids.
<ul data-cue="stagger" data-cue-child="fade-up" data-cue-gap="80">…</ul>Text rises into place from behind a mask, word by word, line by line or letter by letter. Screen readers hear the whole sentence; links and emphasis come back as they were.
Know exactly what’s wrong
<h1 data-cue="rise" data-cue-split="words">…</h1>A block in a brand colour sweeps across the element, the content appears behind it, and the block slides away.
Built to get things fixed.
<h2 data-cue="reveal-box" data-cue-color="accent">…</h2>A number counts up to its value, keeping its format (1,204, 72.5%, +4) in tabular figures. Screen readers only hear the final value.
1,204
<span data-cue="count" data-cue-from="0">1,204</span>SVG lines draw themselves along their length; anything else (a rule, an underline) grows from the left.
<svg data-cue="draw">…</svg>Short text types itself out, with a caret. Screen readers get the whole text throughout.
Audit any website.
<span data-cue="type">Audit any website.</span>