The top ten at a glance

30 Best Claude Artifact Prompts for Interactive HTML: the top prompts and what you get from each
PromptWhat you get
Build an Interactive Plant Cell Diagram with Clickable Organelles and a Quiz ModeA ready-to-paste prompt that produces a single HTML file with a clickable SVG plant cell, plain-language function cards for 11 organelles and a label-free quiz mode.
Build a Daily Five-Letter Word Guessing Game with Colorblind Mode in One HTML FileA ready-to-paste prompt that produces Quillmark, an original daily five-letter word game with correct duplicate-letter coloring, an on-screen keyboard and a colorblind mode.
Build a Weekly Habit Tracker Grid with Streak Counts in One HTML FileGenerates a single-file weekly habit tracker where you tap day cells to check off habits, watch streaks and completion percentages update live, and copy a plain-text summary.
Build an Interactive Periodic Table Infographic in a Single HTML FileGet a responsive periodic table of all 118 elements with family, state and metal-type filters and a detail panel for each element, in one HTML file.
Build a Procedurally Generated Maze Escape Game with Timer and Fog of WarYou get a single HTML file containing Lantern Labyrinth, a maze game with always-solvable random mazes, three difficulty sizes, a timer, swipe and keyboard controls, and an optional fog-of-war mode.
Build a Spin-the-Wheel Random Decision Maker With Editable Options in HTMLYou get one HTML file with a canvas spin wheel. Edit your own options, spin with an eased animation, and hear the result announced, with an instant pick when reduced motion is on.
Build a 16-Step Drum Sequencer with Tempo and Swing in One HTML FileA ready-to-paste prompt that makes an AI build a clickable 16-step drum machine with synthesized drums, preset grooves, tempo, swing and a moving playhead.
Build a Beat-Synced Kinetic Typography Quote Animation in One HTML FileA prompt that produces Beatline, a single HTML page animating a short quote word by word on a tempo grid, with varied entrances, replay and a clean recording mode.
Build a Classroom Game Show Buzzer Board with Timer Sounds in HTMLA prompt that builds a single HTML quiz-night console with four colored team buzzers, correct and wrong sounds, scoring, and a ticking countdown that ends in a horn.
Build a Click-to-Launch Fireworks Celebration Animation in One HTML FileA prompt that produces a single HTML page where clicks, taps or keys launch fireworks with gravity, fading trails, soft synthesized pops and a mute toggle.

FAQ

About this list

Paste a prompt into Claude and the page appears as an artifact beside the chat, where you can use it at once and ask for changes. In ChatGPT or Gemini, save the answer as a file ending in html and open it in any browser. Nothing needs installing, and the page works offline.

Every prompt on this list has a live example on its page, so you can play the game or press the buttons before you copy. None of them has blanks, so they all run as pasted. Every one respects the reduced motion setting on your device, and several add keyboard shortcuts or touch controls so the page works on a phone too.

What is a Claude artifact?

It is the panel Claude opens beside the chat for a finished piece of work, such as a web page, a document or a diagram. For an HTML page, the artifact runs the page right there, so you can click through it, ask Claude to change something and see the new version straight away.

Do these prompts work without Claude?

Yes. They ask for one self-contained HTML file, which ChatGPT and Gemini can write too. Copy the code from the answer into a text file, save it with the html extension and open it in a browser. Gemini's canvas and ChatGPT's canvas can also preview the page in the chat.

Can I put the page on my own website?

Yes. The prompts ask for one file with its own styles and scripts and no links to other sites, so you can upload it as it is or paste it into a page builder that accepts custom HTML. Test it on a phone first, and check any facts or numbers the page shows before you publish it.

How do I change the page after it is built?

Ask in the same chat, one change at a time, such as a darker colour scheme, a second level or larger buttons. Small requests keep the rest of the page intact. If an edit breaks something, paste the working version back in and ask for the change again with more detail.