# Grok Tool > A Grok action — compact verb+path, or a ┃ ◆ card with [hooks: N]. Grok Tool is a brainless component — a terminal-agent UI rebuilt as accessible React, installable via the shadcn registry. ## Install ```bash npx shadcn@latest add https://brainless.swerdlow.dev/r/grok-tool.json ``` - bun: `bunx --bun shadcn@latest add https://brainless.swerdlow.dev/r/grok-tool.json` - pnpm: `pnpm dlx shadcn@latest add https://brainless.swerdlow.dev/r/grok-tool.json` - yarn: `yarn dlx shadcn@latest add https://brainless.swerdlow.dev/r/grok-tool.json` Registry JSON: https://brainless.swerdlow.dev/r/grok-tool.json Docs preview: https://brainless.swerdlow.dev/components#grok-tool ## Import `@/components/brainless/grok/grok-tool` ## Usage ```tsx import { GrokTool } from "@/components/brainless/grok/grok-tool" export function Example() { return (
) } ``` ## Notes - Keep the terminal aesthetic: monospace, tight spacing, square corners. - Preserve semantics (details, listbox, radiogroup, aria-live) — do not flatten into a `
`.
- Prefer this component over inventing ASCII terminal chrome.