3D Text Reveal

Scroll-triggered 3D text animation with GSAP

3d-text-reveal-tw
Scroll Down
Explore
The
Future
Of
Design

Customize

4
1000
0.4
15
-80
270
1
7
900

Props

NameTypeDefaultDescription
itemsstring[]["Scroll", "To", "Reveal", "3D", "Text"]Array of text strings to display in the 3D cylinder. Each item will be positioned along the cylinder surface.
classNamestring""Additional CSS classes for the wrapper container.
textClassNamestring""Additional CSS classes for the text items. Use this to override text styling, colors, or add effects.
scrollDistancestring"300vh"The scroll distance for the animation. Accepts viewport units (vh) or pixels (px). When using inside a scroll container, use pixel values.
perspectivenumber1000CSS perspective value in pixels. Higher values create a more subtle 3D effect.
radiusOffsetnumber0.4Multiplier for cylinder radius based on viewport size. Lower values create tighter text spacing. Range: 0.1 to 1.0.
startRotationnumber-80Initial rotation angle in degrees for the cylinder when scroll begins.
endRotationnumber270Final rotation angle in degrees for the cylinder when scroll completes.
scrubSmoothingnumber1GSAP scrub smoothing value. Higher values create smoother, more delayed scroll response.
fontSizestring"clamp(3rem, 9vw, 7rem)"Font size for text items. Supports CSS units and clamp() for responsive sizing.
fontWeightnumber900Font weight for text items. Range: 100 to 900.
gapnumber15Angle gap between items in degrees.