Single-file HTML landing pages
One file holding the CSS, the JavaScript and the graphics. Double-click it and it runs.
Why one file
- Portable: email it, drop it in a repo, attach it to an issue. It works wherever it lands.
- Reviewable: the whole page is one diff, which is easy for a person or an agent to check.
- Durable: there is no dependency tree to rot. A file that works today still works in five years.
- Fast: no framework runtime has to download before anything renders.
How these files are built
Styles live in one <style> block, organised around custom properties at the top, so a rebrand is a handful of values. Scripts live in one <script> block. Graphics are inline SVG, CSS or canvas, so there are no image requests.
When a page needs a library, such as three.js or GSAP, it loads one pinned version from a CDN. The pages below need none at all: plain HTML, CSS and JavaScript, typically around 100 KB in total.
When one file is no longer enough
Split it along its sections. Each page marks them with data-section attributes, so each one becomes a component in React, Vue, Svelte or Astro and the custom properties become your theme. An agent can make the split in one message because the structure is already labelled.
Single-file pages with zero dependencies
Each one is a single HTML file. Open the live demo, read the prompt that built it, or copy the code.
-
Paste-Up Travel Journal Page
A cobalt scrapbook page for a travel journal app that pastes itself: three taped photo prints and a postage stamp that fly onto loose paper sheets and drift with the pointer, ransom-note titles cut letter by letter from six typefaces, and a tilted tape marquee
Live demoPromptCode -
Seam AI Tennis Coach Page
A near-black page for an AI tennis coach told from the ball's point of view: a 1300vh scroll-driven three.js film dives through the felt, the seam and the strings, rides a serve over the net with a live speed-and-spin readout and calls it in, then hands over to tennis-lime product sections
Live demoPromptCode -
Oishi Taiyaki Ice Cream Page
A cream-and-red page for taiyaki ice cream sold from a vending machine, with the machine's real touchscreen playable in the hero, a six-flavor picker whose art and accent recolor live, and a guess-the-flavor mini game
Live demoPromptCode -
Nimbus AI Assistant Page
A light, coral-accented page for an all-in-one AI assistant, with two tilted phones under a parallax sky of canvas clouds and tool tiles orbiting the logo on three rings
Live demoPromptCode -
Bryo AI Moss Cultivation Page
A misty sage-and-lime page for an AI that grows moss, painted in code, where a scroll-driven camera dollies from a floating moss island down into a fogged conifer valley
Live demoPromptCode -
Forgewave Vibe-Manufacturing Studio Page
A red-and-ink page for a studio that turns a described vibe into a real product, drawn entirely in animated SVG from a robot arm loading a conveyor to a factory-belt footer
Live demoPromptCode -
KYMA AI Automation Agency Page
A brutalist black, paper and lime page for an AI automation agency on a visible four-column grid, with a playable automation pipeline, pain points that fly off as you scroll and an ROI calculator
Live demoPromptCode -
Cutcrew AI Video Agents Page
A bright, playful page for five AI video-editing agents, each a candy-coloured SVG robot mascot, with a self-typing brief, a six-week gantt with a sweeping playhead and a spinning 3D ring of covers
Live demoPromptCode -
Foldwise AI Product Designer Page
A quiet grey page for an AI-native product designer, laid out as a folding book whose twelve panels of SVG case studies concertina open in 3D as you scroll
Live demoPromptCode -
Fullday AI Money Agent Page
A soft blue-and-peach page for an AI money agent that works around your calendar, with a live feed of finished tasks, sliding payment cards on a phone and a self-typing can I afford it prompt
Live demoPromptCode -
Fortix AI Money Copilot App Page
A bright, airy app page for an AI money copilot, with six dark glass phone screens drawn in HTML and SVG, a turning 3D ring of stat cards and a tap-through 3D feature carousel
Live demoPromptCode -
Ditherform AI Dither Generator Page
A near-black, grid-ruled page for an AI that turns a prompt into a 3D dither element, where every picture is a raymarched shape morphing between solids, Bayer-dithered in two muted inks
Live demoPromptCode
Questions
Can a single HTML file include fonts and images?
Yes. Images can be inline SVG or data URIs, and fonts can come from a stylesheet link such as Google Fonts or be embedded as base64. Most pages here use inline SVG and a Google Fonts link.
Is a single-file page bad for SEO?
No. Search engines read the HTML, and a static file with real text, headings and a meta description is about as crawlable as a page gets. It also loads quickly, which helps.
How big does a single-file page get?
Smaller than you might expect. Most pages here are around 100 KB, and the most elaborate, with WebGL scenes and long scroll sequences, stay under 400 KB.