Masked Heading
A large headline with a drifting colour mesh or image showing through the glyphs, revealed word by word.
Default
Move the pointer over the heading to slide the media under the letters. Changing the text, media, reveal, trigger, duration or stagger replays the entrance.
API Reference
MaskedHeading
Accessibility
Keyboard shortcuts and ARIA behavior.
- The heading renders as a real heading element (h2 by default, set it with tag). The words are in the DOM as text.
- The clip-path SVG and the media layer are decorative. Image alt text is empty.
- With prefers-reduced-motion the heading is shown in its final state with no entrance.