GradientText

Animated gradient text that smoothly cycles through a set of color stops using the background-clip text technique and a keyframed background-position animation.

Import

import { GradientText } from "@animui/ui";

Basic

Hello, Gradient World

Custom colors

Amber · Red · Violet

Props

PropTypeDefaultDescription
childrenReactNodeText content to apply gradient to.
colorsstring[]["#7c3aed","#3b82f6","#ec4899"]Gradient color stops, evenly distributed.
animationSpeednumber4Full animation cycle in seconds.
classNamestringAdditional classes.
© 2026 Steal Shadow. MIT License.Report an issue