Benjamin Swerdlow

Grok Message

Component

About

A Grok conversation turn — the ❯ user marker or plain assistant text, with optional wall-clock timestamp.

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

Code

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

Usage.tsx

import { GrokMessage } from "@/components/ui/brainless-grok-message";

export default function GrokMessageDemo() {
  return (
    <div className="w-full max-w-3xl overflow-x-auto border border-[#2b2b2b] bg-[#1a1a1a] p-5 text-[#c0caf5]">
        <div className="space-y-2">
          <GrokMessage role="user" time="4:38 PM">
            put the pricing block on the marketing page
          </GrokMessage>
          <GrokMessage time="4:38 PM">
            Dropped in a Pricing block with three tiers and a toggle.
          </GrokMessage>
        </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