Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Claude Fundamentals
  1. Tracks
  2. ›Claude Fundamentals: Module 3
  3. ›SVG Artifacts: diagrams, icons, and visual outputs
2

Level 2 · Lesson 21 of 50 · Free

SVG Artifacts: diagrams, icons, and visual outputs

Crisp drawings that stay sharp at any size

After this, you'll be able to ask Claude for a simple visual as an SVG and understand why it stays sharp at any size. You'll know when an SVG fits and when a photo-style image is better.

Before you start

Complete HTML Artifacts: interactive web apps in one prompt first; this lesson builds on that one by shifting from interactive apps to visual outputs, and it assumes you are comfortable watching Artifacts render and update in the panel.

The idea

An SVG Artifact is a drawing that stays sharp at any size. Logos, icons, simple diagrams, and illustrations all work, scaling from a tiny menu icon to a billboard with no quality loss. Claude draws it in the panel, and because it is instructions rather than a photo, you can ask Claude to nudge a color or a shape and it edits cleanly.

Worked example

Before and after

Without this, you download a free PNG for a "settings" button, scale it up for a header, and it turns into a fuzzy mess. With Claude, you ask for a gear icon as an SVG and get a crisp drawing that stays razor-sharp at 16 pixels or filling a slide.

(Most images you know, like photos, are made of tiny dots called pixels that go blurry when blown up. An SVG is instructions for drawing shapes instead, so "resolution-independent" just means there is no fixed dot-count to run out of.)

Saving it: use the panel's Copy or Export control if you see one.

Or ask "give me this SVG as a code block", paste it into a plain text file, and name the file icon.svg.

In Notepad on Windows, choose Save as and type the full name in quotes. In TextEdit on a Mac, choose Format, then Make Plain Text, and name it icon.svg. Your browser can open that file.

In ChatGPT and Gemini: ChatGPT's code blocks preview SVG, so ask for the drawing as SVG code and it shows in the chat. We found no equivalent in Gemini, so check your account.

Now try it: send "Create a simple, flat 'home' icon as an SVG: a house outline with a door, single color, clean lines, no shading." When it appears, picture it tiny in a navigation bar and huge on a poster; because it is a vector, both stay sharp.

Choose SVG when the same drawing must look crisp at icon size and billboard size alike.

Try it (8 min)

Paste this into Claude

Create a simple icon for me as an SVG (a scalable vector graphic that stays sharp at any size).

I want a "calendar" icon with these traits:
- Flat and clean: simple outlines, no shading or 3D effects
- A single accent color plus the outline
- A small detail that makes it clearly a calendar (for example, the two rings at the top and a grid of day squares)
- Balanced and centered so it reads well both small (like in a button) and large (like on a slide)

Show it in the panel as an SVG. Then change the accent color to a deep blue and show me the updated version, so I can see that editing a vector is clean and does not blur anything.

What a good response looks like

A flat calendar icon opened in the panel as an SVG, outline in charcoal with a teal accent:

<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="none" stroke="#2b2b2b" stroke-width="3"> <rect x="8" y="14" width="48" height="42" rx="6"/> <rect x="8" y="14" width="48" height="12" fill="#14b8a6" stroke="none"/> <line x1="20" y1="8" x2="20" y2="20"/> <line x1="44" y1="8" x2="44" y2="20"/> </svg>

It shows two rings at the top and a grid of day squares below. I used simple strokes and no shading, so it stays sharp from a 16-pixel button to a full slide.

When you asked for a deep blue accent, I changed one value, #14b8a6 to #1e3a8a. Nothing else moved and the lines stayed crisp, which is the benefit of a vector.

Check yours against

  • A calendar icon appeared in the Artifact panel as an SVG
  • The icon is flat and clean, with simple outlines and no photo-style shading
  • The calendar is recognizable (rings at the top and day squares, or a clear equivalent)
  • Claude re-rendered the icon in a deep blue accent without the lines blurring or degrading
  • You can explain why this icon would stay sharp at both small and large sizes
  • Asking for a photo-realistic image as an SVG; vectors are for flat, geometric art, not lifelike photos or detailed scenes
  • Requesting a busy, highly detailed illustration; SVGs shine on simple shapes, and complexity makes them messy and unreliable
  • Judging the icon only at one size; the strength of an SVG is that it holds up small and large, so check both
  • Saving a screenshot of the SVG and losing the scaling benefit; export the SVG itself to keep it sharp at any size
  • Expecting brand-exact colors by guesswork; give Claude the specific color you want rather than 'make it nice'

When this breaks

  • Breaks when you ask for a photo or a richly detailed scene because vectors describe shapes and lines, so anything that needs realistic texture or lighting comes out flat and wrong.
  • Breaks when the design is too complex because an SVG is built from individual shapes, so a crowded illustration produces tangled output that is hard to read and hard to edit.

AI can help with this

Paste this into claude.ai, filling in the brackets: 'Create a simple [icon / logo idea / basic diagram] as an SVG that stays sharp at any size. Make it flat and clean, [your detail], in [your color]. Show it in the panel, then recolor it to [another color] so I can see the edit stays crisp.'

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

From memory, think of one picture you'd need for your own work. Say whether SVG fits, and why, then write the request including the exact color you want.

One good answer: 'A flat bike icon for my club's sign-up page, single deep green, clean outlines. SVG fits because it must stay sharp small and large.' If you chose SVG for a flat, simple shape and named a color, you've got it.

Key takeaways

An SVG Artifact is a drawing made of instructions, so it stays sharp at any size and edits cleanly. Use it for icons, simple logos, and basic diagrams, not photo-style images.

  1. 1Choose SVG for flat, geometric art (icons, simple logos, badges) that must stay sharp at any size.
  2. 2Skip SVG for photos or richly detailed scenes; vectors describe shapes, not realistic texture.
  3. 3Keep the design simple; crowded illustrations produce tangled, hard-to-edit vectors.
  4. 4Export the SVG itself, not a screenshot, to keep the scaling benefit you came for.
  5. 5Name the exact color you want; precise input beats 'make it look good.'

Go deeper

  • Anthropic: What are Artifacts and how do I use themsupport.claude.com (opens in a new tab) ↗
Up nextMermaid Artifacts: flowcharts and diagrams from text→

Was this helpful?

← Back to Claude Fundamentals