As designers we usually explain interactions with static frames and arrows. Claude Artifacts let you skip ahead: describe a screen, and Claude builds a working prototype in a side panel that you can click, scroll and resize. I use it to test ideas before I spend time polishing them in Figma.
What is an Artifact?
When Claude writes something you might want to keep or reuse, it can place it in an Artifact: a separate panel with a live preview and the code behind it. Common types are:
- Web pages written in HTML, CSS and JavaScript.
- React components for interactive UI.
- SVG graphics, such as simple icons and diagrams.
- Documents, such as briefs and plans in Markdown.
Step 1: Write a clear first prompt
A good prototype prompt covers purpose, layout, content, style and interaction:
Prompt
Build a single-page landing page for "Bloom", a plant delivery startup. Sections: sticky navbar with logo and 4 links, hero with headline, subheading and two buttons, 3 benefit cards with icons, pricing table with 3 plans, testimonial slider, footer. Style: soft green #2F6B4F, cream background #FBF7EF, rounded 16px corners, generous white space, modern sans-serif. Make it responsive and add hover states to buttons and cards.
Step 2: Iterate in small steps
After the first version, refine one thing at a time:
- “Make the hero split into two columns with an illustration placeholder on the right.”
- “Change the pricing cards so the middle plan is highlighted.”
- “Add a dark mode toggle in the navbar.”
Pro tip: If something breaks, say exactly what you see: “The cards overlap on mobile under 400px.” Precise feedback gets precise fixes.
Step 3: Test it like a user
Use the preview to click through the page and resize the panel to check mobile layouts. You will spot hierarchy and flow problems much earlier than in static mockups.
Step 4: Hand off
- To yourself in Figma: use the prototype as a reference and rebuild the final UI with your components, grids and brand details.
- To developers: copy or download the code as a starting point, along with your Figma file.
- To clients: share a link or a screen recording to discuss structure before visual design.
Ideas to try
| Idea | Prompt starter |
|---|---|
| Pricing page | “Create a pricing page with a monthly/yearly toggle…” |
| Dashboard | “Build an analytics dashboard with 4 stat cards and a line chart…” |
| Portfolio | “Design a minimal portfolio grid with filter buttons…” |
| Icon set | “Create 6 simple line icons as SVG in one consistent style…” |
Watch out: AI-generated code is a prototype, not production code. Have a developer review accessibility, performance and security before anything goes live.