text-animations/animated-gradient-text

Animated Gradient Text

Preview

Animated Gradient Text

● live previewing Vue + Tailwind (reference)

Props
Colors3 stops
Direction90°
Loop8s

Prerequisites

Component

variant
source AnimatedGradientText.vue

Usage

usage App.vue

API

PropTypeDefaultDescription
colorsstring[]Gradient colours, in order. Repeat the first colour last for a seamless loop.
degreenumber90Gradient direction, in degrees (0–360).
animationSpeednumber8One full loop, in seconds. Higher is slower.