micka_design

Thinking Steps

AI chats 2

About

Collapsible AI reasoning display that shows an agent's chain-of-thought as animated steps with per-step icons, source badges, and nested details.

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

Code

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

Usage.tsx

"use client";

import {
  ThinkingSteps,
  ThinkingStepsHeader,
  ThinkingStepsContent,
  ThinkingStep,
  ThinkingStepDetails,
} from "@/components/ui/thinking-steps";

export default function ThinkingStepsDemo() {
  return (
    <div className="flex min-h-[320px] w-full items-center justify-center p-8">
      <ThinkingSteps>
        <ThinkingStepsHeader />
        <ThinkingStepsContent>
          <ThinkingStep icon="search" label="Searched the web" />
          <ThinkingStep icon="globe" label="Read 3 sources">
            <ThinkingStepDetails
              summary="Explored 6 files"
              details={[
                "Read accordion.tsx",
                "Read icon-map.tsx",
                "Read badge.tsx",
                "Read use-proximity-hover.ts",
                "Read components.ts",
                "Read postbuild-registry.mjs",
              ]}
            />
          </ThinkingStep>
          <ThinkingStep icon="check" label="Done" isLast />
        </ThinkingStepsContent>
      </ThinkingSteps>
    </div>
  );
}

Dependencies

More by micka_design

View all
  • Switch

    Switch

    87
  • Select

    Select

    84
  • Checkbox Group

    Checkbox Group

    77
  • Table

    Table

    38
  • Accordion

    Accordion

    38
  • Segmented Tabs

    Segmented Tabs

    37
  • Slider

    Slider

    24
  • Tabs Subtle

    Tabs Subtle

    22

More in AI chats

View all
  • AI Actions

    AI Actions

    319
  • Color Picker

    Color Picker

    81
  • Agent Chat

    Agent Chat

    17
  • Prompt with Model Picker

    Prompt with Model Picker

    2
  • Message Thread

    Message Thread

    35
  • System Message

    System Message

    54
  • Suggestions

    Suggestions

    28
  • Message With Header And Delivery Status

    Message With Header And Delivery Status

    38