Skip to content
FreeText

Mask Reveal

Staggered lines that slide up from behind a mask, like a product launch intro.

Plan
Free · MIT
Dependencies
React only
Props
11 (11 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with care. Built to last. Ready for you.

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
childrenstring"Made with care.\\nBuilt to last.\\nReady for you."The text: each line (line break) rises through its own mask.
sizenumber44Letter size, in px.
staggernumber120Delay between one line and the next, in ms.
durationnumber1050How long each line takes to rise, in ms.
dimFromnumber2Line index from which the text is dimmed; -1 keeps every line the same.
align"left" | "center""left"Text alignment.
replayButtonbooleantrueShows a button to replay the animation.
replayLabelstring"Replay"Text of the replay button (also its accessible label).
repeatbooleantrueReplays the animation every time the text scrolls back into view.
colorstring"#F4F5F7"Text color.
dimColorstring"#6F7480"Color of the dimmed lines.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { MaskReveal } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • Words melt into one another with a viscous blur-and-threshold transition and a liquid sheen.

    Text

  • Numbers that roll up to their value.

    Text

  • Text on a circle that turns slowly and speeds up, with inertia, when the cursor gets close.

    Text