About
Grok's rounded CSS-border composer with a real text input and model · mode legend (normal / plan / auto / always-approve / plan approval).
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Grok Prompt to your project and fits it to your theme.
Code
How Grok Prompt is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { GrokPrompt } from "@/components/ui/brainless-grok-prompt";
export default function GrokPromptDemo() {
return (
<div className="w-full max-w-3xl overflow-x-auto border border-[#2b2b2b] bg-[#1a1a1a] p-5 text-[#c0caf5]">
<div className="space-y-4">
<GrokPrompt mode="always-approve" showShortcuts={false} />
<GrokPrompt mode="normal" />
<GrokPrompt mode="plan" />
<GrokPrompt mode="auto" />
</div>
</div>
);
}








