Animations & Motion

Masked Typography

Giant text that clips background images and scales as you scroll through.

parallaxtypographymaskscroll

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][]Array of image URLs
backgroundColor
stringbg-whiteBackground color of the component
containerHeight
stringh-[300vh]Height of the container
gridCols
number3Number of grid columns
gridRows
number3Number of grid rows
text
stringVISIONText displayed
textColor
stringtext-whiteColor of the text
textSize
stringtext-[20vw]Size of the text
overlayColor
stringbg-blue-900/40Color of overlay
overlayOpacity
number0.4Opacity of overlay
scaleRange
[number, number][1, 50]Scale range
scaleProgressRange
[number, number][0, 0.8]Scale progress range
opacityRange
[number, number][1, 0]Opacity range
opacityProgressRange
[number, number][0.7, 0.8]Opacity progress range
bgYRange
[number, number][0, 200]Background Y position range
transitionText
stringTransition CompleteTransition text displayed
transitionTextColor
stringtext-whiteColor of transition text
transitionTextSize
stringtext-2xlSize of transition text
transitionOpacityRange
[number, number][0.75, 0.9]Transition opacity range
className
stringAdditional CSS classes
Masked Typography - Animations & Motion Component | UILora