Ashish Sharma

Streaming Chat

AI chats 2

About

A chat reply that thinks, then streams. A collapsible reasoning block pulses while it works, the answer types in word by word with a Stop button, and source chips appear when it finishes. From Caliper UI (caliperui.site).

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

Code

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

Usage.tsx

import { StreamingChat } from "@/components/ui/streaming-chat";

export default function Demo() {
  return (
    <div className="flex min-h-[520px] items-center justify-center bg-background p-6">
      <StreamingChat />
    </div>
  );
}

More by Ashish Sharma

View all
  • Perspective Gallery

    Perspective Gallery

    45
  • Animated Sidebar

    Animated Sidebar

    13
  • Glow Ring

    Glow Ring

    10
  • Otp Input

    Otp Input

    10
  • Expandable Tabs

    Expandable Tabs

    8
  • Bento Features

    Bento Features

    5
  • Notification Stack

    Notification Stack

    5
  • Spotlight Pricing

    Spotlight Pricing

    2

More in AI chats

View all
  • AI Actions

    AI Actions

    361
  • Aquarium Prompt

    Aquarium Prompt

    168
  • AI Artifact

    AI Artifact

    17
  • AI Suggestions

    AI Suggestions

    22
  • AI Orb

    AI Orb

    216
  • Agent Chat

    Agent Chat

    21
  • Color Picker

    Color Picker

    229
  • AI Task List

    AI Task List

    198

Explore more

Part of Caliper UI — browse the full library on 21st.dev.