How the templates are built, how to get one into your project and how to change it without breaking what makes it good.
Version 1.0.0 · 26 November 2026
What Screenery is
Screenery is a library of 20 finished UI templates: eight landing pages, four dashboards, two sign in pages, a registration form, an onboarding wizard, a pricing page, an article page, a portfolio and a 404. Each one is a complete page built in its own visual world. No two share a layout, a palette or a typeface.
A template is plain HTML, CSS and JavaScript in one folder. There is no build step, no framework, no package to install and no component library to learn. You copy the folder and edit it.
Every control on every page works. Forms validate, load, fail and succeed. Tables sort, filter and go empty. Menus, drawers and dialogs open, close and return focus. The brands, people and numbers are fictional and written for the demo.
Folder structure
The project is a static site. Any file server can run it.
index.html the gallery
view.html live preview: ?t=<slug>&size=desktop|tablet|phone&panel=details|code|checks
docs.html guide.html changelog.html
t/<slug>/index.html one static page per template
templates/<slug>/ the template itself
index.html
style.css
script.js
assets/ photos as WebP, where the template has any
dl/<slug>.zip the same folder, badge removed
dl/screenery-all.zip
shared/badge.js the small "Screenery" link shown on each demo
assets/templates.js the catalogue the gallery, viewer and generators read
assets/report.json inspection results for every template
llms.txt llms-full.txt registry.json sitemap.xml robots.txt
skills/screenery/SKILL.md
scripts/ build.mjs, pages.mjs, og.mjs, inspect.mjs, pack.mjs, thumbs.sh
A template folder depends on nothing outside itself except web fonts, the badge script and, for a few templates, Three.js or GSAP from a CDN. Inside index.html the stylesheet, script and photos are linked relatively, so the folder works wherever you put it.
Each of the three files opens with a comment that names the template and summarises its structure in a few lines. Read those first.
Three ways to get a template
1. Copy from the viewer
Open any template from the gallery. The viewer shows it at desktop, tablet and phone widths. Open the panel with "Details, checks, code" and choose the Code tab to read and copy index.html, style.css and script.js. You can link straight to it: view.html?t=meridian&panel=code.
2. Download the zip
Every template page has a "Download .zip" button. The archive at dl/<slug>.zip holds the whole folder, photos included, with the badge script tag already removed. dl/screenery-all.zip holds all 20. Unzip, serve the folder, and it runs.
3. Hand it to a coding agent
The viewer has a "Copy agent prompt" button that copies a ready-made prompt for the template you are looking at. Paste it into your coding agent with a sentence about your product. The guide has longer prompts for common jobs, and the agent files below give an agent everything it needs to fetch a template itself.
If you have the repository, there is a fourth way, which is the first one without the browser:
Every style.css starts the same way: a comment that summarises the file, then one :root block that declares every colour, typeface, space and radius as a CSS custom property. The rest of the stylesheet only uses those properties. Change a value once and it changes everywhere.
This is the top of templates/meridian/style.css, shortened:
:root {
--paper: #f4f1ea;
--ink: #111111;
--red: #e10600;
--on-red: #ffffff; /* small text on red only: paper on red is 4.4:1, white is 5:1 */
--ink-2: #4a4843; /* secondary text on paper, 8.3:1 */
--line: #11111126; /* grid hairline on paper */
--s-1: 4px;
--s-2: 8px;
/* ... up to --s-9: 112px */
--margin: clamp(16px, 2.78vw, 40px);
--section: clamp(72px, 10vw, 152px);
--radius: 0;
--sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
--ease: cubic-bezier(0.16, 1, 0.3, 1);
}
Token names come from the template's own world, so they are not the same from one template to the next. The groups are.
Colour
A ground, an ink and the template's accents, named for what they are: --paper, --ink and --red in Meridian; --terracotta and --celadon in Kiln & Co.; --cobalt, --sand, --good and --bad in Tessel; --night, --teal and --rose in Vesper.
Type
Family stacks as --sans, --serif or --mono. Some templates also name their sizes, as Kiln & Co. does with --fs-display through --fs-label.
Space
A numbered scale, --s-1 upward, plus page-level values such as --gutter, --margin and --section.
Shape
Radii as --radius, or a small set such as Tessel's --r-1 to --r-3 and Vesper's --r-control and --r-panel.
Motion
An easing curve as --ease, and any value a script drives, such as Meridian's --p for scroll progress.
Changing colour
Change the values and keep the names. After changing a text or ground colour, check contrast again: 4.5:1 for body text and 3:1 for large text. Tessel has a full dark theme that redefines the same colour tokens under :root[data-theme="dark"], so change both blocks.
Changing type
Replace the Google Fonts <link> in index.html, then the family in --sans, --serif or --mono. Display type in several templates is tuned to its face: Meridian drives Archivo's width axis and Kiln & Co. uses Fraunces' optical sizes. A replacement without those axes still works, without that effect.
Changing content
Copy and photos are in index.html. Data for dashboards and anything drawn by script is at the top of script.js, in plain arrays and objects. Photos have explicit width and height; keep them correct for your replacements so the layout does not shift.
Remove the badge
On the demo site each template shows a small "Screenery" link in a bottom corner. It comes from one line, the last element of <body> in index.html:
Delete that line. Nothing else refers to it. The zip downloads already have it removed. The badge hides itself inside the viewer and on phones, so its absence there is not a sign that the line is gone.
Dependencies and CDN pins
Most templates load nothing but their own files and web fonts. Nine load a pinned library from jsDelivr, and each of those has a designed fallback for when the library or WebGL is unavailable.
Fonts
Google Fonts, loaded with preconnect and display=swap. Each template names its families on its page and in assets/templates.js.
Three.js 0.170.0
Perihelion, Solstice '27, Halo One, Skarrow Round, Casa Bora, Pagophila, Ondo Air, Murmur, Kestrel K2, Tactile Seventy, Halcyon Lens, Lune Modular, Orra, Nightdrive, Mochi and Gambit Club import https://cdn.jsdelivr.net/npm/three@0.170.0/build/three.module.js through an import map in index.html. The version is pinned. Each has a designed fallback, in SVG or CSS, for when WebGL or the module is unavailable.
GSAP 3.13.0
Weyl Sato loads gsap.min.js and Flip.min.js, Tenon loads ScrollTrigger and SplitText, Larkmoss loads MorphSVGPlugin, and Stride loads ScrollTrigger, all from https://cdn.jsdelivr.net/npm/gsap@3.13.0/dist/. Every plugin is free. Content is visible before any of it runs, and reduced motion turns it off.
No template uses Lenis. Elsewhere, scroll effects are native CSS scroll-driven animations with a small script fallback, and sound in Kelham 97.3 FM and the Halden PS-1 is synthesised with the Web Audio API.
To self-host Three.js, download that module, put it beside the template and point the import map at it. In a bundled project, install three@0.170.0 and delete the import map.
Using a template in React, Next.js, Vue, Svelte or Astro
The markup and the CSS port directly. The script needs a decision.
Markup and CSS
Move the contents of <body> into a component and keep every class name. The stylesheet depends on them.
Import style.css once, globally. If your framework scopes styles per component, keep the :root token block and the base rules global.
For JSX, rename class to className and for to htmlFor, close void elements, and camel-case SVG attributes such as stroke-width. Vue, Svelte and Astro take the HTML as it is.
Move the font <link> tags and the theme-color meta into your document head, or use your framework's font loader with the same family names.
Put the assets/ folder where your framework serves static files and update the image paths.
script.js
Each script is written against the DOM: it selects elements, adds listeners and toggles classes and attributes. Most are a single function that runs once when the file loads. You have two honest options.
Run it after mount. Wrap the body of script.js in an exported function and call it once the markup exists. This is quick, and it is correct for a page-level screen such as a landing page, a 404 or a sign in page.
// Meridian.jsx
import { useEffect } from 'react';
import './style.css';
import { start } from './script.js'; // script.js, with its body wrapped in: export function start() { ... }
export default function Meridian() {
useEffect(() => { start(); }, []);
return (
<>{/* the contents of <body> from index.html */}</>
);
}
The same call goes in onMounted in Vue, onMount in Svelte and a <script> tag in an Astro component. In Next.js the component needs 'use client'. The scripts do not return a cleanup function, so React's development Strict Mode, which mounts twice, will attach listeners twice. Guard the call with a ref, or add the cleanup yourself.
Rewrite the state. When the screen will share data with the rest of an app, which is the usual case for a dashboard or a sign in form, move the state out of the script and into the framework. Scripts such as Harbor's, Tessel's, Ledger & Lane's and Tally's keep their state in one plain state object and render from it, which makes the port mechanical: the object becomes your store or component state, each render function becomes a component, and each listener becomes an event handler. Do it one behaviour at a time and keep the template open beside your version to compare.
What does not port by itself
The Three.js templates use an import map. In a bundler, install three@0.170.0 and import it normally.
Scripts that draw into the page, such as Tessel's SVG charts and Nocturne's canvas charts, expect their container elements to exist and to keep their ids.
URL state parameters are read once at load. If your router changes the URL without a reload, pass the state in yourself.
URL state parameters
Nine templates read parameters from the URL so that a particular state can be opened directly. They are there for review, screenshots and agents: you can link to the error state of a form without typing your way into it.
opens with focus mode on: only the current sentence at full ink
?mode=strict
turns strict mode on for the sheet in the machine and invites a backspace
?sprint=25
starts a 25 minute sprint (also ?sprint=15)
?draft=2
feeds the second card, Letter to Ines (a strict sheet), into the machine
?state=empty
an empty drawer and a blank sheet with its placeholder; nothing is saved
?state=error
the could-not-save notice on the machine and a download form that failed to send
Two demo inputs trigger error states without a parameter. In Vesper, the password wrong is rejected. In Wayfarer Club, the address member@ternair.example is "already enrolled".
The viewer has its own parameters: t for the template, size for desktop, tablet or phone, and panel for details, code or checks.
Accessibility and reduced motion
Semantic HTML with landmarks, one lang, a title and a meta description on every page.
Visible keyboard focus on every control, themed from the template's palette.
State is never colour alone. Nocturne labels every station's state in text; forms name the problem and the fix.
Overlays are native <dialog> or popover elements where they can be. Escape closes them and focus returns to the control that opened them.
Drag and drop has a keyboard path: Harbor's cards have a "Move to" menu and Channel 404's dial takes arrow keys.
Content is visible without JavaScript and before any scroll. Nothing waits behind an "appear on scroll" class.
All 20 stylesheets honour prefers-reduced-motion: reduce. Non-essential motion is switched off, and WebGL scenes stop on a still frame. Channel 404 goes further and starts with the picture already tuned.
The templates were written to meet WCAG AA contrast. The inspector measures contrast on every run, and where a template has an open item it is listed on that template's page. Check again after you change colours.
Browser support
The templates are tested in Chromium. They have not been through an automated run in Firefox or Safari, so test there before you ship.
They use current CSS where it does a job better than script, and guard it so that a browser without the feature still gets the whole page.
Scroll-driven animations
Used by ten templates, inside @supports. Where the effect matters, a scroll listener sets the same custom property instead.
View Transitions
Ines Varga's lightbox and index toggle. The fallback is a fade.
Popover API
The Evening Dispatch's footnotes, which also list at the end of the article, and popovers in Halo One and Harbor.
Container queries
Foundry, Harbor, Ledger & Lane and Channel 404.
CSS masks
Ticket notches and perforations in Solstice '27 and Wayfarer Club, torn edges in Tally.
WebGL
Four templates, each with a static fallback. Pixel ratio is capped at 2 and rendering pauses when the tab is hidden.
How every template is checked
scripts/inspect.mjs loads each template in a real Chromium at four widths, 1440, 1024, 768 and 390 pixels, and once more with reduced motion requested. Every number comes from that browser session. A check that could not run is listed as skipped, not counted as a pass.
No console errors or uncaught exceptions
No failed requests
No horizontal overflow
No broken images, and an alt attribute on every image
Exactly one h1; lang, title and meta description present
An accessible name on every interactive element
Touch targets of at least 24 by 24 pixels at 390 wide, the WCAG 2.2 AA minimum
Text contrast at WCAG AA, measured with axe-core
A clean load with reduced motion requested
Page weight: requests and bytes transferred at 1440 on a cold cache, fonts included
In the latest run, on 27 November 2026 in Chromium 156.0.8078.4 (Playwright, headless), 78 of 78 templates passed every check at every width. The rest have open items, which each template's page lists as measured.
To run it yourself, start a static server on port 4173 and run node scripts/inspect.mjs, or node scripts/inspect.mjs meridian for one template. It needs Playwright.
Files for agents
Screenery is meant to be used by coding agents as well as people. These files are plain text or JSON at fixed URLs.
Everything in one file: how to fetch a template, the token pattern, and every template with slug, type, fonts, palette, techniques, state parameters and URLs.
The catalogue as JSON. For each template: slug, name, type, description and the absolute URL of every file, photos included. It is a plain JSON catalogue in Screenery's own shape. It is not a shadcn registry and no CLI reads it.
An agent skill that teaches a coding agent to pick a template for a request, fetch it, adapt it without flattening the design, remove the badge and check the result.
Install the skill
There is no installer and nothing is published to a package registry. Copy the folder into your project's skills directory:
npx skills add gorgekara/screenery
That gives you .claude/skills/screenery/SKILL.md, which Claude Code loads as a project skill. To make it available in every project, copy it to ~/.claude/skills/ instead. Other agents can read the same file: point them at it, or paste it into their instructions.
Photos, fonts and licences
Photographs
From Unsplash, under the Unsplash licence, and stored in each template's assets/ folder as WebP. Nothing is hotlinked. They are placeholders for your own images; read the Unsplash licence before you ship them as they are.
Typefaces
From Google Fonts, which distributes them under open licences, most often the SIL Open Font License. Each family's licence is on its Google Fonts page.
Three.js
MIT licence, loaded from jsDelivr by sixteen templates.
GSAP
Free under the GreenSock standard licence, plugins included, loaded from jsDelivr by four templates.
Brands and content
Every brand, person, quote, price and figure in the templates is fictional. Icons and illustrations are inline SVG drawn for the template.
The template code is free under the MIT licence: use it in personal and commercial work, change it and ship it. Every download includes the licence file. The photographs and typefaces keep their own licences, listed above.
All templates
Each name links to the template's own page, with a description, palette, typefaces, state parameters, file sizes and the buttons to preview or download it.
No. Each template is one folder with index.html, style.css and script.js. Open index.html from any static file server and it runs.
Is there an npm package or a CLI?
No. You copy the folder, download a zip, or have a coding agent fetch the three files. registry.json is a plain JSON catalogue, not a shadcn registry.
Can I use a template with React, Next.js, Vue, Svelte or Astro?
Yes. The markup and CSS port directly. script.js is written against the DOM, so either run it once after the component mounts or rewrite its state in the framework. The section above has the details.
Do the templates work without JavaScript?
The content does. Every section is visible without JavaScript and before any scroll. The interactive parts, such as forms, charts drawn from data and WebGL scenes, need script.js.
Are the brands and numbers in the templates real?
No. Every brand, person, price and figure is fictional and written for the demo. Replace them with your own.
Where do the photos and fonts come from?
Photographs come from Unsplash and are stored in each template's assets folder as WebP. Typefaces load from Google Fonts.