Cameron Kelliher

AI Streaming Text

AI chats 53

About

Animated text that streams in character-by-character or word-by-word with a blinking cursor, simulating an AI typewriter response.

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

Code

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

Usage.tsx

"use client";

import { AiStreamingText } from "@/components/ui/streaming-text";

export default function StreamingTextDemo() {
  return (
    <div className="flex min-h-[240px] w-full items-center justify-center p-8">
      <div className="max-w-md text-base leading-relaxed text-foreground">
        <AiStreamingText
          text="This text will stream in character by character, just like an AI response typing out its answer in real time..."
          speed={30}
          showCursor
          onComplete={() => console.log("Done!")}
        />
      </div>
    </div>
  );
}

More by Cameron Kelliher

View all
  • AI Chain of Thought

    AI Chain of Thought

    120
  • Helix Loader

    Helix Loader

    101
  • AI Tool Call

    AI Tool Call

    47
  • Glitch Text Loader

    Glitch Text Loader

    45
  • Signal Bars Loader

    Signal Bars Loader

    44
  • AI Prompt Diff

    AI Prompt Diff

    43
  • AI Conversation Tree

    AI Conversation Tree

    37
  • AI Routing Indicator

    AI Routing Indicator

    35

More in AI chats

View all
  • AI Actions

    AI Actions

    341
  • Aquarium Prompt

    Aquarium Prompt

    64
  • Commit

    Commit

    35
  • Cost Meter

    Cost Meter

    50
  • Agent Chat

    Agent Chat

    19
  • Research Report

    Research Report

    2
  • Color Picker

    Color Picker

    175
  • Streaming Text

    Streaming Text

    26