Screen archetype
A screen archetype is a type of screen defined by the job people do on it: find a record in a list, work through a queue, read one record, fill in a form, scan an overview. The archetype fixes the width, the header, what scrolls and how a record opens, so every screen of that type behaves the same. Meadowstack builds every screen from one of 9 archetypes, and a slot an archetype does not have is a type error.
By Bohuslav PoláčekChecked
* Screen: a screen is made from an archetype, not from a free layout
* (framework v2, 29 Oct 2026). Eight months of review remarks on the demo came
* down to the same few faults (an explaining sentence under a title, two
* scrolls, a column that is 1200px wide on one list and full width on the
* next); prose in AGENTS.md did not stop an agent from repeating them, an API
* does. The archetype decides the width, the alignment, the header, what
* scrolls and how a record opens; the agent only fills the typed slots, and a
* slot the archetype does not have is a type error.
*
* What every archetype shares:
* - The page (`html`, `body`) never scrolls. Exactly one region scrolls, a
* `ScrollArea` (overscroll contained, scrollbar gutter stable, the header
* stays where it is). Archetypes with two side-by-side regions (a worklist, an
* inbox) give each its own scroll; a workspace scrolls inside its surface.
* - The header is `ScreenHeader`: a title, an eyebrow and a status, one
* primary action, at most two secondary ones, the rest behind "…". There is
* no slot for a description.
* - Widths follow the job (docs/benchmarks.md): index, worklist, workspace and
* inbox run full width from the left gutter; overview is a column of at most
* 1200px; record, form, settings and canvas are centred (Linear).Why it matters in a business app
An order system has dozens of screens, and most are the same few jobs: a list of orders, a queue of approvals, an order's record, a new-order form, a weekly overview. When each is laid out from scratch, the list is 1200px wide on one page and full width on the next, one page scrolls twice and another explains itself in a sentence under the title. People relearn every page.
With archetypes, once someone has used one list they know them all: where the primary action is, what scrolls, that a record opens beside the list.
How Meadowstack handles it
| Archetype | The job | Width |
|---|---|---|
index | find and open records | full |
worklist | work through a queue | full, two regions |
record | read and act on one record | centred, 1200px |
form | create or edit | centred, 640px |
overview | see how things stand | up to 1200px |
workspace | plan on a board, grid or timeline | full |
inbox | read and answer messages | full, two regions |
settings | change how the app works | centred, 768px |
canvas | edit one drawing or document | centred |
<Screen archetype="…"> takes only the slots its archetype has (decision 0001). Eight months of review remarks came down to the same few faults, and prose rules did not stop a coding assistant from repeating them; a typed API does. The guide to screen archetypes walks through choosing one.
Common mistakes
- Picking by look, not by job. A queue drawn as a list hides what needs doing next; a list drawn as a queue forces people through records they only wanted to find.
- A description under the title. No archetype has the slot; if the screen needs explaining, the screen needs changing.
- Two scrolls. The page never scrolls, exactly one region does, except the two-region archetypes where each side scrolls on its own.
Questions
How many screen archetypes does Meadowstack have?
9: index, worklist, record, form, overview, workspace, inbox, settings and canvas.
What is the difference between an index and a worklist?
An index is a list people search and open now and then; a record opens in a side panel. A worklist is a queue worked through item by item, with the list and the open item side by side.
Can a screen mix two archetypes?
No. A screen has one job and one archetype. A second job, such as planning on a board next to a list, is another presentation in the display menu or its own screen.
Why does an archetype help an AI assistant?
It turns layout rules into a typed component. The assistant fills slots that exist, and a slot the archetype does not have fails to compile instead of slipping through review.
Two ways
Build it yourself, or have it built
Build it yourself
Build your app on the framework
Get the codebase these apps stand on and build yours with Claude Code, Cursor or Codex.
One payment, lifetime updates
Get the frameworkHave it built
Have us build your app
Tell us how your team works. We plan the app with you and build it on the same framework at a fixed price.
After launch, Care keeps it improving, from €99 a month.
from €1,990
Describe your app