TextNew

Wave Reveal

A heading appears in a wave: letters slide in one by one and come out of a blur. Pure CSS.

Customize

gradientFrom
gradientTo

Based on Wave Reveal (MIT license) · Terms of use

More in Pro

View all

Props

10 properties
PropertyTypeDefaultDescription
textstring—Heading text.
direction'up' | 'down'"down"Where the letters come from.
mode'letter' | 'word'"letter"Reveal by letter or by word.
durationstring"2000ms"Reveal duration, e.g. 2000ms.
delaynumber0Delay before the start, in milliseconds.
blurbooleantrueLetters come out of a blur, like at WWDC.
letterClassNamestring—Classes for each letter or word.
classNamestring—Classes for the wrapper.
gradientFromstring"#ffffff"Colour of the first letter. The text fades into the gradient end colour.
gradientTostring"#d4d4d8"Colour of the last letter, the end of the gradient.

Dependencies

2 required packages

npm install clsx tailwind-merge

Related components

View all