What a template is
A complete design system plus starter code: design and machinery together.
A template fixes the decisions that are slow and easy to get wrong — the colour palette, the heading and body typefaces, the corner radius, the spacing rhythm and the component rules — and comes with the page structure that suits its job: a product grid for a storefront, a schedule for a conference, a listing and detail pair for a marketplace, a table and side navigation for a dashboard.
Picking one starts a real project, not a folder on your desktop. The app is built in an isolated sandbox so you get a working preview in seconds, and the backend it needs is written in with it from the brick catalogue. Nothing in the preview is a picture of an app. It is the app.
| A downloaded theme | A template here | |
|---|---|---|
| What you get | A zip of markup and styles. | Real code you can run, deploy and keep. |
| Backend | No database, accounts, payments or hosting — separate products you assemble. | Database, auth, email and payment code already written in. |
| Changing it | Editing files by hand, and owning every upgrade. | By chat, by clicking an element, or from a screenshot. |
| Shipping it | Your problem. | Published to a live URL, then monitored. |
How a template reaches your project
The template’s code is written into the project before the first build, so the app starts from real files rather than from a description of them.
components/templates/<slug>.tsx the template, as real code
→ scripts/build-template-sources.mjs extracted at build time
→ lib/templates/generated/scaffolds.ts bundled scaffolds
→ scaffoldDesignTemplate() lib/api/ensureSandbox.ts
written in on first provisionWhat travels into the build is the design-system record, not the placeholder words: the palette (seven colour slots), the fonts, the radius and the rules. That record becomes the template guidance in the build instruction, which is why the agent keeps to the system on every later edit. The names, prices and photos in a preview are thrown away by the first prompt.
Choosing a template
Four rules that get you from a wall of options to one starting point — none of them about the placeholder text.
- Start from the shape, not the subject. Pick the template whose page structure is closest to what you need — a listing grid, a booking flow, a long-form article, a data table. Subject matter is the easiest thing to change by chat; structure saves the most work.
- Judge the look, ignore the words. What you are choosing is the design system underneath: type, spacing, colour and component style.
- Open it and read the tokens. Each template page shows the full front page at desktop size plus its palette, heading and body fonts, corner radius and the design rules the agent keeps to — the fastest way to tell two similar templates apart.
- When in doubt, describe it. A template is a head start, not a requirement. If nothing matches, describe the look and the agent builds the design system with the app.
How customising works
Four ways to move a template towards what you had in mind — all of them editing real files, none requiring you to open one.
| Method | What it does |
|---|---|
| Describe it in chat | “Make the hero bigger”, “drop the pricing section”, “this is a bakery, not a SaaS” — the agent edits the real files and the preview updates. Structure, copy, sections and behaviour, not just colours. |
| Click an element | Click the element in the live preview and the change lands on that exact piece instead of somewhere approximate. |
| Show a screenshot | Upload a reference image of the design you are chasing and the agent matches it. |
| Swap the palette | Apply a palette from the library and surfaces, accents, text and borders recolour together. |
Under the hood: click-to-target and palette swaps
In the sandbox, public/ca-picker.js posts a ca:element-edit message with the element’s text and CSS selector, and the Studio live preview prefixes your prompt with “Focus this change on …”. A palette preset is the same seven-slot record as a template’s colours, so applying one is an assignment, not a migration.
A normal session: pick the template whose structure fits, swap in a palette, describe the sections you need, click the two or three things still not right, and paste a screenshot when a detail is easier to show than to say. Elements drop in the same way, recoloured to the template’s palette.
What every template includes
The design is the part that differs. Underneath, every template starts from the same pre-wired foundation.
- A real data layer — Postgres schema, migrations and the data-access brick, so listings, bookings or products have somewhere real to live.
- Authentication — the auth brick whole: session provider, sign-in and sign-up, route guard, profile migration.
- Transactional email — server-side sending code against Resend. You bring the key and verify the sending domain.
- Payments — the Stripe brick, on your own Stripe account, so a commerce or ticketing design can actually take money.
- Hosting and a real URL — Go Live publishes to Cloudflare with SSL, and custom domains when you want one.
- Monitoring — health checks and alerts once it is live, and restore to any earlier version.
What stays yours
A starting point should not become a dependency.
- The code and the content. Under the terms of service you own the code and content you create, and no ownership is claimed over your projects.
- The repository and the review. Connect a GitHub repository and every agent change arrives as a pull request with its checks already run. Nothing merges without your review.
Templates, palettes and elements
Colour, layout and components are separate choices on purpose, so you can mix them.
| Library | What it is | Choose it when |
|---|---|---|
| Templates | A whole design system — palette, type, radius, component rules — with starter code for a kind of site. | You want the layout decided as well as the look. The fastest route from nothing to something. |
| Palettes | Colour only — systems of seven roles each, light and dark. | You know the shape of your product and need the colour direction settled. |
| Elements | One component — a button, card, input, toggle or loader — that re-themes to your palette. | You want character on a page without changing its typography, spacing or layout. |
Templates questions, answered
Are these templates real code or just design mockups?
Real code. Each template is a design system — palette, type, radius and component rules — together with starter code that becomes your project when you pick it. The preview on each template page is the design rendering, not a screenshot of a mockup, and the build you start from it is a working app, not a static export.
How is this different from buying a website theme?
A theme is a file you download and then maintain yourself, and it stops at the surface. Here the design comes attached to a working application: the Postgres schema and data layer, sign-in, and Stripe checkout are written in from vetted bricks rather than left as an exercise, and Go Live deploys the result to a real URL. Pointing that code at live accounts is a separate step you control. You change the app by asking rather than by editing files by hand — though the code is there if you want it.
What happens right after I pick a template?
The template becomes the starting point of a new project. The app is generated and built in an isolated sandbox, the backend pieces it needs are written in from the brick catalogue rather than improvised, and you get a live preview to iterate against. When it looks right, Go Live publishes it to a hosted URL.
How much can I change after picking a template?
Everything. Sections, copy, layout, colours, fonts and behaviour are all editable — by describing the change in chat, by clicking an element in the live preview, or by applying a different palette. A template decides where you start, not where you finish.
Can I change the colours of a template?
Yes. Colour is a token in every template, not a hard-coded value, so applying one of the palettes from the palette library recolours the whole design at once. You can also describe the colours you want in chat.
Can I apply a template to a site I already have?
A template is a design system with rules that travel, so you can point the agent at it while it works on an existing project rather than starting a new one. For an existing codebase, connect the repository and describe the redesign you want — the change comes back as a pull request you review.