---
title: Copy Prompt
description: Render copyable prompts for agents and language models
type: reference
summary: Use CopyPrompt for reusable instructions that readers can send to an AI assistant.
related:
  - /docs/components
  - /docs/components/command-prompt
---

import { CopyPrompt } from "@vercel/geistdocs/components/copy-prompt";

<CopyPrompt text="Review this project and propose the safest migration plan." />

```tsx
import { CopyPrompt } from "@vercel/geistdocs/components/copy-prompt";

export function ReviewPrompt() {
  return <CopyPrompt text="Review this project and propose the safest migration plan." />;
}
```

`CopyPrompt` is also included in the default MDX component map.
