Julien Thibeaut

Response Stream

AI chats 291

About

A component for displaying text with streaming animations, perfect for chat interfaces, AI responses, or any text that should appear progressively.

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

Code

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

Usage.tsx

import { ResponseStream } from "@/components/ui/response-stream"

export function ResponseStreamFade() {
  const text = `This text is fading in word by word. The fade mode creates a smooth and elegant text reveal. You can customize the fadeDuration but also the segmentDelay to control the speed of the animation.`

  return (
    <div className="w-full min-w-full">
      <ResponseStream
        textStream={text}
        mode="fade"
        className="text-sm"
        fadeDuration={1200}
      />
    </div>
  )
}

More by Julien Thibeaut

View all
  • Dock

    Dock

    3.2K
  • Text Effect

    Text Effect

    1.7K
  • Infinite Slider

    Infinite Slider

    1.5K
  • Text Shimmer

    Text Shimmer

    1.3K
  • Text Scramble

    Text Scramble

    1.1K
  • Progressive blur

    Progressive blur

    697
  • Glow Effect

    Glow Effect

    623
  • Tailwind CSS Background Snippet

    Tailwind CSS Background Snippet

    587

More in AI chats

View all
  • AI Actions

    AI Actions

    337
  • Aquarium Prompt

    Aquarium Prompt

    26
  • Attachments

    Attachments

    33
  • Message Thread

    Message Thread

    55
  • Agent Chat

    Agent Chat

    18
  • Color Picker

    Color Picker

    161
  • Commit

    Commit

    28
  • Chat Bubble

    Chat Bubble

    194