The right choice for complex apps, overkill for simple ones
After this, you'll be able to recognize when a tool is complex enough to need a React Artifact. You'll decide when a simpler format is better, and ask for the right one instead of the fanciest option.
Complete Mermaid Artifacts: flowcharts and diagrams from text first; this lesson builds on the full set of Artifact types you have now seen, because choosing React over a simpler format only makes sense once you know what the simpler formats can already do.
React Artifacts are the right pick when a tool gets too complex, and the wrong pick when a simpler format would do. They can manage state and user interactions, which is what makes the call worth learning.
("Managing state" means the app remembers things as you use it: which tab you are on, a list you keep adding to. React is built for apps with many moving parts that stay in sync, like a multi-step form, a project board, or a dashboard with linked filters.)
But fancier is not better. A tip calculator does not need React, and asking for it adds complexity with no payoff. Claude often reaches for React on its own (React Artifacts work on Free too, as of Nov 2026) for interactive tools, so the move that keeps you in control is the opposite of naming React: when a tool is simple, ask for a plain HTML Artifact (the kind from lesson 20) and say it does not need React.
In ChatGPT and Gemini: ChatGPT's code blocks preview React in the chat. Gemini's Canvas builds apps from a prompt and shows them in the side panel.
Now try it: send "I want a small task board where I add tasks, move them between To Do, Doing, and Done, and see a count for each column. Build it in whatever format fits, and tell me whether you used React and why." The "why" trains you to hear when complexity justifies the heavier tool.
Describe how complex the tool really is, and for a simple one ask for plain HTML; fancier is not better.
Paste this into Claude
I want you to make two tools and explain your format choice for each, so I can learn when a tool needs React and when it does not. Tool 1: A simple unit converter. I type a number of miles and it shows me the equivalent in kilometers. That is the whole tool. Tool 2: A small task board. I can add a task, move each task between three columns (To Do, Doing, Done), and see a live count of how many tasks are in each column. The board should remember my tasks as I move them around during the session. Build both. For each one, tell me in plain English which format you chose (a simple format or React), and why that tool did or did not need React to manage its moving parts.
What a good response looks like
Tool 1, the unit converter: I used a simple single-page format, not React. It has one input and one result. There is nothing to remember between actions, so React would only add weight. Type 26.2 miles and it shows 42.16 kilometers.
Tool 2, the task board: I used React. The board has to remember every task, which column it is in, and the three live counts, and keep them all in sync when you move a card. React is built for exactly that.
Example after adding "Order lunch", "Send invoice", and "Book flights", then moving "Send invoice" to Done: To Do: 2 Doing: 0 Done: 1
Rule of thumb: if the tool answers one question, keep it simple. If many parts must stay in step, ask for React.
Check yours against
Paste this into claude.ai, filling in the brackets: 'I want a tool that [describe the job, including anything it must remember as I use it]. Build it in whatever format fits best, and tell me in plain English whether you used React and why this tool did or did not need it.'
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.
Without scrolling up, name two tools you might ask Claude to build. For each, say whether it needs React and what about its job decides that.
One good answer: 'A tile-area calculator: no, one input and one answer. A volunteer sign-up board where I add names and move them between days: yes, many parts that stay in sync.' If your answer turns on whether the tool must remember and sync things, that works.
React Artifacts are for tools with many moving parts that must stay in sync. Fancier is not better; describe the real complexity and let Claude pick the format that fits.