Benjamin Swerdlow

Grok Thought

Component

About

Completed or streaming thought — ◆ Thought for 0.2s, or a bordered Thinking… body.

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

Code

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

Usage.tsx

import { GrokThought } from "@/components/ui/brainless-grok-thought";

export default function GrokThoughtDemo() {
  return (
    <div className="w-full max-w-3xl overflow-x-auto border border-[#2b2b2b] bg-[#1a1a1a] p-5 text-[#c0caf5]">
        <div className="space-y-3">
          <GrokThought elapsed="0.2s" />
          <GrokThought elapsed="0.1s" gutter />
          <GrokThought streaming>
            scratch.txt exists with content &quot;hello&quot;. I&apos;ll overwrite
            it with world, then stop.
          </GrokThought>
        </div>
    </div>
  );
}

More by Benjamin Swerdlow

View all
  • Pied Piper Onboarding

    Pied Piper Onboarding

  • Grok Session

    Grok Session

  • Grok Session Active

    Grok Session Active

  • Grok Plan

    Grok Plan

  • Codex Session

    Codex Session

  • Claude Session

    Claude Session

  • Grok Slash Menu

    Grok Slash Menu

  • Codex Slash Menu

    Codex Slash Menu