Gradient Text(017)

Silky multi-color gradient background sweep traveling continuously across typography.

Hover
Requires:motion
Loading…

Installation

$npx kibo add gradient-text

Usage

1import { GradientText } from "@/components/kibo/gradient-text/component";
2
3export default function Example() {
4 return (
5 <GradientText />
6 );
7}

Props Reference

PropTypeDefaultDescription
childrenReactNode-Child elements or content to render inside the component.
classNamestring''Additional CSS classes for styling and layout.
colorsstring[]['#5227FF', '#FF9FFC', '#B497CF']Controls the colors for the component animation.
animationSpeednumber8Controls the animation speed for the component animation.
showBorderbooleanfalseControls the show border for the component animation.
direction'horizontal' | 'vertical' | 'diagonal''horizontal'Direction of movement (e.g., 'top', 'bottom', 'left', 'right').
pauseOnHoverbooleanfalseControls the pause on hover for the component animation.
yoyobooleantrueControls the yoyo for the component animation.