Vibe UI
Initializing Vibe UI System...

Dia Text Reveal

A sweeping gradient animation that reveals text dynamically with support for word rotation cycles.

Preview

exclusive

Installation

pnpm dlx vibe-ui-kit@latest add dia-text-reveal

SaaS Tagline (Fixed Width)

We design experiences that areinteractive

Neon Custom Sweep

STATUS PANEL INITIALIZED
SYSTEM DATA DECRYPTING

Usage

import { DiaTextReveal } from "@/components/ui/dia-text-reveal"
<DiaTextReveal text={["exclusive", "modern", "clean", "premium"]} />

Props

PropTypeDefaultDescription
textstring | string[][]Array of word strings or a single string to reveal
colorsstring[]DEFAULT_COLORSColors representing the diagonal linear sweep gradient stops
textColorstring"currentColor"Default color of text letters before gradient sweep passes
durationnumber1.5Sweep duration in seconds per text item
delaynumber0Delay in seconds before animation sweep triggers
repeatbooleanfalseWhether to loop through text array continuously
repeatDelaynumber0.5Cooldown delay in seconds between loops
fixedWidthbooleanfalseForces container size to stay constant matching largest word size
classNamestring?""Additional classes for the container

This DiaTextReveal component creates a diagonal sweep gradient reveal text transition.

Contributors

JS
Jenish Sabhadiya

Theme Customizer

8px
@theme {
  --radius: 0.5rem;
  --glass-blur: 8px;
}
Changes apply instantly to this documentation workspace.
Dia Text Reveal | Vibe UI