Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Prompt

<Prompt> is a prompt block readers can copy or open in AI tools.

A prompt that readers can copy or open in an AI tool in one click:

<Prompt title="Have AI write your docs.yml" actions={["claude", "chatgpt", "cursor"]}>
  Read https://docs.butterix.com/llms.txt and generate a ButterIX docs.yml for my Express API project with two tabs: "Guides" and "API reference".
</Prompt>
Have AI write your docs.ymlOpen in Claude
Read <https://docs.butterix.com/llms.txt> and generate a ButterIX docs.yml for my Express API project with two tabs: "Guides" and "API reference".
titlestring
Title row; when set, the action buttons move into the title row.
iconicon
Icon to the left of the prompt.
actionsarray
The built-in "claude", "chatgpt", "cursor", or { label, url, icon } (url can use a {prompt} placeholder). The first is the primary button and the rest go into a dropdown; the copy button is always present.
hidePromptbooleanDefault false
Show only the title row (requires title).
singleLinebooleanDefault false
Truncate the body to one line.