animbits

Dia Text

Text 147

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

    143
  • Linear Carousel

    Linear Carousel

    132
  • Skeleton Loader

    Skeleton Loader

    106
  • Word Carousel Text

    Word Carousel Text

    97
  • Image Text

    Image Text

    73
  • Text Highlight

    Text Highlight

    68
  • Morphing Loader

    Morphing Loader

    53
  • SVG Text Draw

    SVG Text Draw

    49

More in Text

View all
  • Text Animation

    Text Animation

    130
  • Short Slide Right

    Short Slide Right

    17
  • Lightning Text

    Lightning Text

    122
  • Word Pull Up

    Word Pull Up

    148
  • Mouse Quadrant Tracker

    Mouse Quadrant Tracker

    55
  • Text Wavy

    Text Wavy

    25
  • Text Roll

    Text Roll

    117
  • Modern animated multi words

    Modern animated multi words

    315