# CopyPrompt

One-line prompt with a Copy prompt button, for readers to paste into an AI coding agent.

**Install:** `nimbus-docs add copy-prompt`  
**Source:** `src/components/ui/copy-prompt/`  
**Canonical:** https://nimbus-docs.com/components/copy-prompt/

## Agent payload (JSON)

```json
{
  "slug": "copy-prompt",
  "name": "CopyPrompt",
  "description": "One-line prompt with a Copy prompt button, for pasting into an AI coding agent.",
  "tagline": "One-line prompt with a Copy prompt button, for readers to paste into an AI coding agent.",
  "install": "nimbus-docs add copy-prompt",
  "sourcePath": "src/components/ui/copy-prompt/",
  "canonicalUrl": "https://nimbus-docs.com/components/copy-prompt/",
  "props": [
    {
      "name": "text",
      "type": "string",
      "required": true,
      "description": "The prompt to display and copy. It truncates to one line on screen, but the full text is copied."
    }
  ],
  "registryDependencies": [
    "button",
    "cn"
  ],
  "dependencies": []
}
```
