Edwin Vakayil

Dia Text

Text 391

About

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

"use client";

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

export function HeroHeadline() {
  return (
    <p className="font-light text-4xl tracking-tight">
      Make interfaces feel{" "}
      <DiaText
        repeat
        repeatDelay={1.1}
        text={["smooth.", "focused.", "refined."]}
      />
    </p>
  );
}

export default HeroHeadline

Dependencies

More by Edwin Vakayil

View all
  • Origin Button

    Origin Button

    920
  • Infinite Ribbon

    Infinite Ribbon

    618
  • Shimmer Text

    Shimmer Text

    475
  • Icon Bar

    Icon Bar

    272
  • FAQ Pro

    FAQ Pro

    255
  • Verified Badge

    Verified Badge

    242
  • New Card

    New Card

    208
  • Status Dot

    Status Dot

    140

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