Text Reveal Preloader
Words rise in letter by letter, then reveal your page.
Features
- •Kinetic letters — Each letter rises from a mask with a skew and slight alternating tilt, staggered across the word, then settles crisp.
- •Your words, any font — Any number of words in any Google Font, loaded automatically, with case, weight, size, line height, letter spacing and alignment.
- •Five reveals — Curtain up, swipe up, center split, scale through or fade out, each on a smooth luxury ease.
- •Fits every screen — Text is sized for desktop and scales down on smaller screens, measured against your longest word so it never overflows.
- •Tight pacing — Four speed presets or exact seconds per word, a final hold once the last word is fully in, and a reveal that follows the word without an empty pause.
- •Production ready — Locks page scroll while it plays, pauses offscreen, can show once per visit, announces itself to screen readers and fades simply with reduced motion.
Props API Reference
21 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| words | string[] | ["Uno", "dos", "tres", "Hala Madrid!"] | Words shown one after another; the last one holds before the reveal. |
| speed | "hyper" | "fast" | "editorial" | "relaxed" | number | "editorial" | Pacing preset (0.52 / 0.72 / 0.95 / 1.3 s per word) or exact seconds. |
| exitStyle | "curtain-up" | "swipe-up" | "center-split" | "scale-through" | "fade-out" | "curtain-up" | How the page is revealed. |
| exitDuration | number | 0.95 | Seconds for the reveal. |
| holdDuration | number | 0.8 | Seconds the last word rests once fully in. |
| revealDelay | number | 0.4 | Seconds after the last word starts lifting before the reveal; below 0.5 they overlap. |
| letterStagger | number | 0.045 | Seconds between letters rising in. |
| skew | number | 6 | Degrees of skew and tilt as letters rise; 0 for a clean rise. |
| googleFont | string | "BBH Bogle" | Any Google Fonts family, loaded automatically. |
| fontFamily | string | Inter stack | CSS font stack for fonts you load yourself (when googleFont is empty). |
| fontWeight | number | 400 | Font weight. |
| fontSize | number | 76 | Text size in px at 1440px wide; scales down on smaller screens and never overflows. |
| lineHeight / letterSpacing | number | 0.94 / 0 | Line height and letter spacing in em. |
| align | "left" | "center" | "right" | "center" | Where the word sits horizontally. |
| textTransform | "uppercase" | "none" | "lowercase" | "capitalize" | "uppercase" | Letter case. |
| textColor / backgroundColor | string | "#F7B538" / "#780116" | Text and screen colours. |
| fullscreen | boolean | true | Cover the viewport, or fill the nearest positioned parent. |
| lockScroll | boolean | true | Stop the page scrolling while it plays (fullscreen only). |
| showOncePerSession | boolean | false | Skip it after the first visit in a browser session. |
| zIndex | number | 9999 | Stacking order. |
| onComplete | () => void | undefined | Called once the reveal finishes (or right away when skipped). |