# Grok Write > Grok's inline write/edit chrome — line-numbered before/after inside a ┃ gutter, with optional hook ✓/✗ lines. Grok Write 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-write.json ``` - bun: `bunx --bun shadcn@latest add https://brainless.swerdlow.dev/r/grok-write.json` - pnpm: `pnpm dlx shadcn@latest add https://brainless.swerdlow.dev/r/grok-write.json` - yarn: `yarn dlx shadcn@latest add https://brainless.swerdlow.dev/r/grok-write.json` Registry JSON: https://brainless.swerdlow.dev/r/grok-write.json Docs preview: https://brainless.swerdlow.dev/components#grok-write ## Import `@/components/brainless/grok/grok-write` ## Usage ```tsx import { GrokWrite } from "@/components/brainless/grok/grok-write" 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.