# Codex Message > A Codex conversation turn — bold › user marker or plain assistant text. Codex Message 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/codex-message.json ``` - bun: `bunx --bun shadcn@latest add https://brainless.swerdlow.dev/r/codex-message.json` - pnpm: `pnpm dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-message.json` - yarn: `yarn dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-message.json` Registry JSON: https://brainless.swerdlow.dev/r/codex-message.json Docs preview: https://brainless.swerdlow.dev/components#codex-message ## Import `@/components/brainless/codex/codex-message` ## Usage ```tsx import { CodexMessage } from "@/components/brainless/codex/codex-message" export function Example() { return (
add a pricing section to the docs site Added a three-tier Pricing section and verified the build.
) } ``` ## 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.