Z-Axis Reveal
A cinematic deep-space text reveal component. Elements fly in from the Z-axis, scaling down and un-blurring into focus. Best used with DOM pinning to create immersive, Apple-style scrollytelling.
Last Modified:Aug 17, 2026
Install
CLI
z-axis-reveal
Or install a specific demo variant:
z-axis-char-demo
Or install a specific demo variant:
z-axis-word-demo
Manual
1. Install Dependencies
Dependencies
2. Add Source Code
Props
| Prop | Type | Default | Description |
|---|---|---|---|
text | string | Required | The full string of text to reveal. |
as | React.ElementType | "h1" | The HTML tag to render as. |
splitBy | "char" | "word" | "line" | "word" | Granularity of the animation. |
momentum | number | 1.5 | The amount of inertia/lag applied to the scroll timeline. |
startScale | number | 3 | How massive the text starts in the Z-axis. |
blur | boolean | true | Whether to apply a cinematic deep-space blur. |
pin | boolean | true | Locks the text in place while it flies in (scrollytelling). |
triggerStart | string | "center center" | ScrollTrigger start point. |
triggerEnd | string | Dynamic | Automatically calculates based on the length of the text block. |