Thinking States

Thinking States: Conversational AI agent thinking bubble morphing through cognitive stages (evaluating, searching, reasoning, finalizing) with organic pulse dots. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Thinking States

npx motion-ui-skill add thinking-states

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Source files

Thinking States

Conversational AI agent thinking bubble morphing through cognitive stages (evaluating, searching, reasoning, finalizing) with organic pulse dots.

Synthesized from conversational agent UX patterns in transitions.dev. Replaces static spinners with dynamic status morphs that give users clear transparency into LLM planning and tool execution.

Install

npx motion-ui-skill add thinking-states

Dependencies

  • clsx
  • motion
  • react
  • tailwind-merge

Usage

"use client";

import { ThinkingStates } from "@/components/agents/thinking-states";

export function ThinkingStatesDemo() {
  return (
    <div className="flex items-center justify-center p-8">
      <ThinkingStates autoCycle={true} />
    </div>
  );
}

API Reference

ThinkingStates

Prop Type Default Required Description
stage "evaluating" | "searching" | "reasoning" | "synthesizing" | "finalizing" Controlled / internal cycle No Explicit stage override
autoCycle boolean true No Automatically cycle through stages for demonstration
className string — No Additional CSS classes

Browse this category