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

Animated Gradient Text

Animated Gradient Text applies a moving multicolor gradient to text, with optional gradient border mode. You can control direction, speed, yoyo behavior, and pause-on-hover.

Clean Syntax

Basic Usage

Loading...

Props

PropTypeDefaultDescription
childrenReactNoderequiredText or inline content to render.
classNamestring""Additional classes for the wrapper.
colorsstring[]["#5227FF", "#FF9FFC", "#B497CF"]Gradient palette sequence.
animationSpeednumber8Duration in seconds for a forward pass.
showBorderbooleanfalseEnables animated border treatment around the text.
direction"horizontal" | "vertical" | "diagonal""horizontal"Direction of gradient movement.
pauseOnHoverbooleanfalsePauses animation while hovered.
yoyobooleantrueReverses the animation back and forth each cycle.

Border + Hover Pause

Loading...

Vertical Direction

Loading...

Tip: Use Alt + / to navigate