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














