Unfolding Text

A 3D-style text animation that unfolds along the Y-axis using GSAP with customizable stroke, fill, and rotation for dramatic typographic reveals.
THE PROJECT

Props

PropertyTypeDefaultDescription
textstringThe text content to display and animate with the unfolding effect.
fontSizenumber80Font size of the animated text, in pixels. This adjusts the overall size of the text.
initialRotateYnumber40The initial Y-axis rotation (in degrees) from which the text unfolds.
strokeColorstring"white"The stroke color applied to the text initially and after the animation completes.
fillColorstring"transparent"The fill color of the text before the animation finishes. Used in combination with strokeColor.
classNamestring""Additional custom or Tailwind CSS class names to style the text element.

Made withby this guy