Creating Web Apps with Claude Artifacts — How to Use It and the 6 Content Types Explained
When you ask Claude to write code or build a web page, a dedicated panel opens on the right side of the screen where you can preview the result in real time. That is Artifacts. It is a system that displays generated output in an independent workspace without cluttering the chat itself, and the core features are available on all plans. This guide, based on official Anthropic information, covers everything from how to enable Artifacts to the 6 content types, sharing, and MCP integration.
Claude Artifacts is a feature that displays "content that is 15 lines or longer and self-contained" in a dedicated panel beside the chat. You can preview 6 types in real time: code snippets, HTML pages, SVG images, Mermaid diagrams, documents, and interactive React components.
By generating a share link, anyone can view your Artifact without a Claude account. On Pro plans and above, you get 20MB of persistent storage and Live Artifacts (automatic updates that persist across sessions), and you can connect directly to external services like Google Calendar, Slack, and Asana via MCP.
The core features are available even on the Free plan, so start by enabling Artifacts in Settings and give it a try.
目次 (12)
- What Are Claude Artifacts — A Dedicated Workspace That Opens Beside the Chat
- How to Enable Artifacts
- The 6 Content Types
- Basic Operations — Generate, Edit, and Export
- Generating
- Editing and Version Control
- Exporting
- Share Links and Remixing
- Persistent Storage and Live Artifacts (Pro and Above)
- MCP Integration — Connecting Directly to External Services
- 5 Practical Use Cases
- Feature Differences by Plan
What Are Claude Artifacts — A Dedicated Workspace That Opens Beside the Chat
According to Anthropic's official support, Artifacts is "a feature that displays independent content that is 15 lines or longer and likely to be edited or reused in a separate window" (reference).
In a standard chat response, long code or HTML gets embedded directly in the conversation. When you enable Artifacts, the screen splits in two: you enter instructions in the left chat panel while viewing the output in real time in the right panel. The preview updates instantly, so each time you ask for something like "make it a bit larger" or "change the color," you can watch the changes appear in the panel as you refine the result.
Artifacts core features are available on all Claude plans: Free, Pro, Max, Team, and Enterprise.
How to Enable Artifacts
Artifacts is usually turned on by default under Settings → Capabilities. If it is not showing, follow these steps to check.
- Log in to claude.ai
- Click the initials icon in the bottom-left corner of the screen
- Open Settings → Capabilities
- Turn on the Artifacts toggle
Once enabled, a dedicated panel will appear in the chat interface. Even if you disable Artifacts, links to existing artifacts remain accessible (reference).
The 6 Content Types
Content generated with Artifacts falls into the following 6 types.
| Type | Overview |
|---|---|
| Code / Scripts | Generate Python, JavaScript, and other code while previewing it in real time |
| HTML Websites | Instantly preview single-file web pages |
| SVG Images | Generate and edit vector images directly without external tools |
| Mermaid Diagrams | Render flowcharts and mind maps on the spot |
| Interactive React Components | Try out UI elements with working clicks and inputs |
| Documents | Generate Markdown or plain-text documents. Conversion to Word or PDF is done separately after exporting |
Source: Anthropic Official Support / Albato Guide
The HTML and React types are especially powerful. With a simple prompt like "build a landing page skeleton" or "create a To-Do app UI," you can try out a fully functional page right inside the panel.
Basic Operations — Generate, Edit, and Export
Generating
Simply ask Claude in the chat to "implement X" or "visualize this data as a chart," and it will automatically generate the result as an Artifacts panel. Code shorter than 15 lines will be displayed inline.
Editing and Version Control
When you ask Claude to make revisions in the chat, changes are reflected in the panel immediately. The version selector at the top of the panel lets you return to any previous version, so you can iterate and improve the quality through trial and error (reference).
Exporting
The controls in the bottom-right of the panel let you:
- View the code (inspect the source)
- Copy to clipboard
- Download as a file
Share Links and Remixing
Artifacts you generate can be shared with a link. Recipients can view the Artifact without a Claude account.
To "create your own copy (remix)" from a share link, a Claude account is required, and usage is charged to the remixing user's subscription (reference). This makes it well-suited for sharing prototypes or tools you have built with colleagues or clients.
Persistent Storage and Live Artifacts (Pro and Above)
On Pro, Max, Team, and Enterprise plans, you get up to 20MB of persistent storage per artifact.
Live Artifacts is a feature that leverages this storage to retain data across sessions, automatically updating when you reopen an Artifact to show the latest data (reference). For example, you can create a "weekly sales dashboard" as an Artifact and have it automatically reflect new data each time you add more.
MCP Integration — Connecting Directly to External Services
On Pro plans and above, you can create Artifacts that connect to external services via MCP (Model Context Protocol). Examples of supported services include:
- Google Calendar
- Gmail
- Slack
- Asana
You can do things like "aggregate Slack messages and visualize them as a Mermaid chart" or "build a dashboard that lists Google Calendar events" — all without specialized coding knowledge.
5 Practical Use Cases
The following are all representative examples of what you can accomplish with Artifacts (reference).
- Landing Page Creation: Simply provide a screenshot or mockup image and generate a working HTML page
- Prototype Development: Build interactive React UI prototypes and share them instantly with designers or clients
- Data Visualization: Convert CSV data or screen captures into charts or dashboard formats
- Educational Content: Create quizzes and interactive learning games that run entirely in the browser
- Automated Document Generation: Output meeting minutes, analysis reports, and presentation materials in Markdown format (conversion to Word or PDF is done separately after exporting)
Because you can prototype web pages and interactive tools even without coding knowledge, this feature offers real practical value for non-engineers as well.
Feature Differences by Plan
| Feature | Free | Pro / Max | Team / Enterprise |
|---|---|---|---|
| Basic Artifacts generation | ✓ | ✓ | ✓ |
| Persistent storage (up to 20MB) | — | ✓ | ✓ |
| Live Artifacts | — | ✓ | ✓ |
| MCP integration | — | ✓ | ✓ |
| Share links | ✓ | ✓ | ✓ |
A smooth approach is to start with the Free plan to try out HTML and Mermaid diagrams, then move to Pro when you need persistent storage or MCP integration. Enabling Artifacts only takes a few seconds in Settings, so give it a try in your next Claude session.