# Codex Exec > A Codex action/exec line with a status dot and expandable output, as a real
disclosure. Codex Exec 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-exec.json ``` - bun: `bunx --bun shadcn@latest add https://brainless.swerdlow.dev/r/codex-exec.json` - pnpm: `pnpm dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-exec.json` - yarn: `yarn dlx shadcn@latest add https://brainless.swerdlow.dev/r/codex-exec.json` Registry JSON: https://brainless.swerdlow.dev/r/codex-exec.json Docs preview: https://brainless.swerdlow.dev/components#codex-exec ## Import `@/components/brainless/codex/codex-exec` ## Usage ```tsx import { CodexExec } from "@/components/brainless/codex/codex-exec" export function Example() { return ( {`pnpm build ✓ compiled successfully`} ) } ``` ## 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.