animbits

Dia Text

Text 220

About

An animated text component that cycles through a list of words with a spring slide-up transition and a gradient sweep reveal.

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

Code

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

Usage.tsx

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

export default function Default() {
  return (
    <div className="flex min-h-[300px] w-full items-center justify-center bg-white dark:bg-black">
      <p className="text-4xl font-semibold tracking-tight text-black dark:text-white">
        Build{" "}
        <DiaText words={["faster", "smarter", "beautiful", "together"]} />{" "}
        products
      </p>
    </div>
  );
}

Dependencies

More by animbits

View all
  • Gooey Blobs Loader

    Gooey Blobs Loader

    191
  • Linear Carousel

    Linear Carousel

    162
  • Skeleton Loader

    Skeleton Loader

    146
  • Word Carousel Text

    Word Carousel Text

    132
  • Text Highlight

    Text Highlight

    110
  • Image Text

    Image Text

    81
  • Morphing Loader

    Morphing Loader

    63
  • SVG Text Draw

    SVG Text Draw

    59

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    15
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Blur Reveal

    Blur Reveal

    401
  • Apple Hello Effect

    Apple Hello Effect

    692
  • Rainbow Text Effect

    Rainbow Text Effect

    61
  • Text Reveal

    Text Reveal

    31
  • NeonRGBTextEffect

    NeonRGBTextEffect

    156