UI for AI agents

Add AI artifacts & canvas to your app

When an AI generates something substantial — code, a document, a design — it deserves its own space beside the chat. Render it as an artifact with copy, edit, download, and version controls, then close out the run with a completion dialog.

Components you'll use

Install

Add every component above with the shadcn CLI. You own the source after install.

pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/ai-artifact.json
pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/canvas-shell.json
pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/completion-dialog.json

Frequently asked

What is the artifacts / canvas pattern?
It's the side panel that holds substantial AI output (popularized by Claude Artifacts and ChatGPT Canvas). AI Artifact gives you the rendered output area with a toolbar and version chips; Canvas Shell provides the surrounding workspace.