Love This UI? Help It Grow and Reach More Developers Worldwide — Check out
logo

Shiny Text

Shiny Text animates a moving gradient highlight across text. You can control the sweep speed, direction, spread angle, idle delay, and optional yoyo behavior for back-and-forth motion.

ShinyText

Animated gradient text, with all props on display.

Slow (Default)
Shining slowly
Fast & Gold
Premium Unlock
Yoyo - back & forth
Bouncing light ray
RTL - hover to pause
Hover me to pause
Delayed sweep
Slow reveal
Wide spread
Broad shimmer

Basic Usage

Loading...

Props

PropTypeDefaultDescription
textstringrequiredText content to render with the shine effect.
disabledbooleanfalseDisables animation and keeps text static.
speednumber5Sweep duration in seconds.
classNamestring""Additional classes for the text element.
colorstring"#4b5563"Base text color used in gradient stops.
shineColorstring"#ffffff"Highlight color at the center of the sweep.
spreadnumber120Gradient angle in degrees.
yoyobooleanfalseReverses the sweep back after each pass.
pauseOnHoverbooleanfalsePauses motion while hovered.
direction"left" | "right""left"Controls sweep direction.
delaynumber0Idle delay in seconds between sweeps.

Direction + Hover Pause

Loading...

Yoyo Sweep

Loading...

Tip: Use Alt + / to navigate