Displays an LLM prompt with interpolation slots highlighted in a distinct colour. Includes an optional copy-to-clipboard button. Ideal for AI documentation, tutorials, and prompt engineering articles.
| Surface | Note |
|---|---|
| googlechat | Renders as plain code block without slot highlighting |
| Renders as plain code block without slot highlighting |
| Field | Type | |
|---|---|---|
| template | string. The prompt text containing {slot} placeholders. | required |
| accent | string (optional, default | optional |
| copyable | boolean (optional, default true). Show copy button. | optional |
| label | string. Small label shown above the template block. | optional |
{
"type": "prompt_template",
"template": "Hello, {{name}}!"
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:prompt_template",
"displayName": "Prompt Template",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/prompt_template",
"capabilities": [
"web",
"meet-stage",
"pdf",
"apps-script-web"
],
"description": "Displays an LLM prompt with interpolation slots highlighted in a distinct colour. Includes an optional copy-to-clipboard button. Ideal for AI documentation, tutorials, and prompt engineering articles.",
"representativeQueries": [
"show a LLM prompt with highlighted {variable} slots and copy button",
"displays an llm prompt with interpolation slots highlighted in a distinct colour. includes an option",
"render a prompt template"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →