Documentation
Components

Prompts

Share copyable AI prompts with the Prompt component.

A <Prompt> shows an AI prompt with a copy button, so readers can paste it into their assistant. Set openInCursor to add an "Open in Cursor" action.

Draft a changelog entry

Summarize the merged pull requests since the last release into a Velu Update block. Group changes under ### Added, ### Fixed, and ### Changed subheads, and write a one-line description for the release version.

Open in Cursor
<Prompt title="Draft a changelog entry" openInCursor={true}>
Summarize the merged pull requests since the last release into a Velu Update
block. Group changes under ### Added, ### Fixed, and ### Changed subheads.
</Prompt>

Prompt properties

titlestring

A heading shown above the prompt.

linesnumberdefault: 3

The number of preview lines shown before the prompt is truncated.

openInCursorbooleandefault: false

Add an "Open in Cursor" action alongside the copy button.

Was this page helpful?