drafty

Claude artifacts examples — 12 real things people build

A maker and PM's reference: what actually comes out the other side when you use Claude artifacts, organized by type, with the prompts that produce them and the gotchas you'll hit along the way.

Quick answer
Claude artifacts are live previews — apps, documents, charts, pages — that Claude renders in a panel beside the chat. The most common examples are interactive calculators, data dashboards from pasted CSV, landing page mockups, Mermaid flowcharts, formatted PRDs, and single-file games. You build them by asking Claude for something self-contained; you refine them by describing changes; you share them by publishing a link.

What makes an artifact different from a chat response

Before the examples: the distinction matters for understanding what's possible. When Claude prints a wall of HTML into the conversation, that's a chat response. When the same content appears in the dedicated side panel — rendered as a working preview — that's an artifact.

Artifacts appear automatically when output is self-contained and substantial enough to stand alone. A five-line Python snippet stays in the chat. A working calculator with inputs and an output section becomes an artifact. The threshold is roughly: "would this be better seen than read?" If yes, Claude renders it as an artifact.

Everything below is a real type of thing people build — not a theoretical capability.


Interactive calculators and tools

This is the most-used artifact category for makers and PMs. You describe a calculation, Claude builds a form with inputs and a live output. No spreadsheet sharing, no "let me know the numbers and I'll do the math" back-and-forth.

What gets built:

Prompt pattern that works:

"Build an interactive HTML calculator for [audience]. Users input: [list the variables]. Calculate [the formula]. Display [the output you want] and [a chart type if relevant]. Make it self-contained in one file."

The "self-contained in one file" instruction prevents Claude from splitting styles and scripts across multiple files, which breaks in the artifact panel.


Data dashboards from pasted CSV

Paste a spreadsheet export, describe the view you want, and Claude produces a working chart with axis labels, hover tooltips, and real data — not placeholder numbers.

What gets built:

The artifact renders using Chart.js or Plotly, both of which Claude includes via CDN. The result is interactive: hover for the exact value, click a legend item to hide a series.

The gotcha most people hit: artifacts don't have access to live data sources. You paste your data in, and the chart is a frozen snapshot of that moment. If you need a dashboard that refreshes — say, for a weekly standup — look at Claude's Live Artifacts (added April 2026), which can stay connected to external sources. Standard CSV-paste artifacts are snapshots.


Landing page and UI mockups

Makers and PMs use these to get something in front of stakeholders before involving a designer. The artifact renders as a real, clickable web page — buttons hover, the nav is sticky, the pricing table has the actual tiers.

What gets built:

These aren't production code. They're a fidelity level above a Figma wireframe: real text, real layout, but unoptimized and single-file. The right use is "can you react to this?" not "ship this."

One prompt that produced a real result:

"Build a single-page HTML mockup of a landing page for a B2B SaaS product that helps PMs track feature requests. Hero with headline and subhead, a three-column feature section, a two-tier pricing table, and a simple footer. Keep the design minimal, use a purple accent."

The result was used as the actual design brief for the designer — the designer reacted to it instead of starting from scratch.


SVG graphics and diagrams

Claude can draw vector graphics directly — logos, simple illustrations, icon sets — as SVG artifacts. The result is editable: ask for a color change and it updates in place.

What gets built:

SVG is where Claude's drawing is most constrained. Complex illustrations, photorealistic assets, and anything with nuanced perspective don't come out well. The strong territory is geometric logos, flat-style diagrams, and anything that's more about structure than artistry.


Mermaid diagrams and flowcharts

Describe a process in plain English and Claude generates a Mermaid diagram rendered in the artifact panel. This is one of the fastest artifact types — it often takes one prompt and produces a usable result.

What gets built:

The Mermaid artifact is the most "sketch-to-shareable" type. A PM can describe a process verbally, get a diagram in 30 seconds, and share it in the same conversation. The limitation: Mermaid syntax doesn't support all diagram styles (no Venn, no org chart with photos), and complex diagrams sometimes exceed what Claude can render without errors. If you hit a syntax error, ask Claude to simplify the diagram or break it into two.


Documents: PRDs, briefs, and one-pagers

Markdown document artifacts are the best fit for long-form structured writing: PRDs, design briefs, strategic one-pagers, project charters. The output renders as a formatted, readable document — not a wall of markdown syntax.

What gets built:

The document artifact's advantage over a chat response is revisability. You see the whole document in the preview panel, ask for a section to be rewritten, and the panel updates the document in place. The final version lives in the artifact, not buried in the conversation scroll.


Games and playful tools

Single-file HTML games work surprisingly well as artifacts. Claude handles the game logic, rendering, and keyboard controls in one file — and the result is immediately playable in the preview panel.

Simon Willison, who writes about AI tools in detail, built 14 functional tools in a week using Claude Artifacts — including a QR code decoder, a SQLite WebAssembly demo, a phonetic alphabet tool, and a Python REPL. He noted that "most took under five minutes" and that the most complex example (an OpenAI audio transcription tool) required only 21 minutes across two iterations.

Common game examples:

Games are also where artifacts hit their most common limit: they can't make API calls to external hosts and can't submit forms to a server. If the game needs a leaderboard or live data, it needs to live somewhere else. Inside the artifact panel, it's self-contained.


The step most examples skip: sharing and feedback

Every example above gets you to "I built a thing." The gap is what happens after.

Publishing a Claude artifact generates a claude.ai link that anyone can open in a browser with no Claude account — that part works. What it doesn't give you: a way for a reviewer to click the exact element and leave a note, threaded comments that stay attached to the artifact, or a path for Claude to read that feedback and ship a revision to the same URL.

For a calculator you're showing one person who'll tell you verbally what to change, the built-in publish is fine. For a landing page mockup going to five stakeholders who each have opinions, the workflow fragments: the artifact goes out as a link, feedback arrives in three Slack threads and a Loom, and you're reconstructing it manually before starting the next iteration.

Where Drafty fits
Drafty is one way to add the review layer on top of what you build in Claude. Paste your artifact — any type — and get a drafty.im/canvas/… URL. Anyone can open it on any device and click the exact element to leave an anchored comment, no account required. Your agent reads the comments via the CLI and ships a revised version to the same link, keeping version history. It works with artifacts from Claude, v0, or any other tool — it's the review step, not the build step.

Claude artifacts examples — common questions

What are some good Claude artifact examples for product managers?
The most useful PM artifacts are: interactive prioritization frameworks (a scoring matrix where you set the criteria and weights), feature spec documents in a formatted Markdown artifact, user flow diagrams via Mermaid, and landing page mockups you can share with stakeholders before the designer gets involved. For roadmaps, a Mermaid Gantt chart artifact is faster than most dedicated tools.
Can Claude build a working calculator as an artifact?
Yes. Ask for 'a self-contained HTML calculator for [your use case]' and describe the inputs and the output formula. Claude renders it live in the artifact panel with real inputs, live calculation, and basic styling. Common examples: ROI calculators, lead scoring tools, freelancer rate estimators, and pricing tier comparison tools.
Can Claude build a dashboard from a CSV file?
Yes. Paste the CSV data into the chat (or describe the structure), ask for a Chart.js or Plotly dashboard, and Claude generates an interactive artifact with real data, axis labels, and hover tooltips. The result is a snapshot — it doesn't update when the underlying data changes, and it doesn't connect to live data sources unless you use the newer Live Artifacts feature (April 2026).
What can Claude artifacts not do?
Artifacts are single-file and sandboxed. They can't make API calls to external hosts, can't use persistent server-side storage, can't execute code on a server, and can't produce audio or video. They're also inconsistent on mobile — responsive CSS doesn't always render the way it would in a proper dev environment. For projects that need multiple files, a backend, or real-time data, Claude Code (the full agentic dev environment) is the better fit.
How do I get Claude to create an artifact instead of a chat response?
Claude generates artifacts automatically for self-contained outputs over a certain length. To be explicit, add 'put this in an artifact' or specify the format: 'build this as a single self-contained HTML page' or 'write this as a formatted Markdown document I can preview.' If Claude responds in the chat instead, ask: 'Put that in an artifact so I can see the preview.'
Can I share a Claude artifact with someone who doesn't have Claude?
Yes, for standard HTML, React, SVG, and document artifacts. Click Publish in the artifact panel, copy the claude.ai link, and anyone with the URL can view and interact with it in any browser — no Claude account, no installation. The exception is AI-powered artifacts that call Claude's API at runtime, which require the viewer to sign in.
How do you get feedback on a Claude artifact?
Claude's built-in publish gives a shareable link where people can view and interact, but not leave specific comments. For structured feedback — especially when multiple people need to point at specific elements — you'd publish the artifact to a review tool that supports element-level commenting, so reviewers can mark the exact spot and your agent can read and act on it.