soralabs

Dia Text Reveal

Text 205

About

Animated text that reveals with a gradient sweep and chromatic wash, with optional multi-phrase cycling, powered by Motion.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dia Text Reveal to your project and fits it to your theme.

Code

How Dia Text Reveal is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { DiaTextReveal } from "@/components/ui/dia-text-reveal";

export default function DiaTextRevealExample() {
  return (
    <div className="flex min-h-72 w-full items-center justify-center px-6 py-16">
      <p className="text-center font-light text-4xl tracking-tight text-foreground sm:text-5xl">
        Make interfaces feel{" "}
        <DiaTextReveal
          fixedWidth
          repeat
          repeatDelay={0.5}
          text={["smooth.", "focused.", "refined."]}
        />
      </p>
    </div>
  );
}

Dependencies

More by soralabs

View all
  • Scroll Gallery

    Scroll Gallery

    376
  • Dock Nav

    Dock Nav

    170
  • Text Reveal Block

    Text Reveal Block

    144
  • Pixelated Image Reveal

    Pixelated Image Reveal

    121
  • Text Roll

    Text Roll

    70
  • Custom Cursor

    Custom Cursor

    62
  • Cursor Bubble

    Cursor Bubble

    47
  • Section CTA

    Section CTA

    37

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692