Skip to content

CopyPrompt

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

Installation

Install with nimbus-docs add copy-prompt. It lands in src/components/ui/copy-prompt/, yours to edit.

npx @cloudflare/nimbus-docs add copy-prompt

Preview

Read https://nimbus-docs.com/llms.txt then help me set up a docs site with Nimbus.

<CopyPrompt text="Read https://nimbus-docs.com/llms.txt then help me set up a docs site with Nimbus." />

API reference

Every prop the component accepts, sourced from a single declaration.

PropType
textrequired
string

Type to search…

↑↓ navigate↵ selectEsc close