re-cinq

Thinking Indicator

AI chats 2

About

A chat loading row that shows an assistant avatar circle with a soft pulse plus a "Thinking" label and animated dots while an AI response streams in.

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

Code

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

Usage.tsx

import { ThinkingIndicator } from "@/components/ui/thinking-indicator";

export default function ThinkingIndicatorDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-background p-10">
      <div className="flex w-full max-w-md flex-col gap-4">
        <div className="flex w-full items-start justify-end gap-3">
          <div className="max-w-[80%] rounded-2xl bg-primary px-4 py-2 text-sm text-primary-foreground">
            Can you summarize the latest deployment logs?
          </div>
        </div>
        <ThinkingIndicator
          assistantAvatar={
            <span className="text-xs font-semibold text-(--bowman-accent,var(--color-blue-600))">
              AI
            </span>
          }
        />
      </div>
    </div>
  );
}

More by re-cinq

View all
  • Thinking Dots

    Thinking Dots

    1
  • Prompt Chips

    Prompt Chips

More in AI chats

View all
  • AI Actions

    AI Actions

    319
  • Color Picker

    Color Picker

    82
  • Agent Chat

    Agent Chat

    17
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Message Thread

    Message Thread

    36
  • System Message

    System Message

    54
  • Suggestions

    Suggestions

    28
  • Modal Card

    Modal Card

    101