Atelier UI

Search components…

Search components…

Gradient Text

Heading text with a slowly flowing gradient fill.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

GradientTextProps

Also accepts all props of React.ComponentProps<"span">

PropTypeDefaultDescription
colorsstring[]["#f97316", "#ec4899", "#8b5cf6", "#06b6d4", "#f97316"]Gradient stops, left to right
durationnumber6Seconds per full cycle

Install

$ npx shadcn@latest add https://chromotion.dev/r/gradient-text.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this