Generating pages
On this page
Generating pages
A complete sitemap — every route, section, and data dependency — derived from your features and stories. · Required · Starter plan
Pages are the structural backbone of your product and the second-to-last Plan step. They matter twice over: they define your information architecture, and they give the schema generator far richer context. That's why pages come before schema — page layouts tell the schema generator what data each screen actually shows and edits.
Figure: Pages list.
Generating your pages
- Open the Pages page from the project sidebar. (Code-first projects find it under Specs From Your Code.)
- Click Generate Pages — the confirm step is labelled Generate Pages & Sitemap.
- The AI reviews your features, user stories, and business goals, maps each requirement to a route, and breaks every page into logical UI sections.
- Review the result — a full information architecture ready for design and schema.
Generation usually takes 30–60 seconds. Every page carries a route, title, sections/components, data dependencies (which tables and fields it reads or writes), and API endpoints.
The Pages views
The Pages page has a Sitemap and a List tab along the top (plus a JSON tab for admins):
| View | What it shows |
|---|---|
| Sitemap | An interactive flow diagram of page hierarchy and navigation paths — drag and zoom to explore. Each card is a live render of the page itself — the same render as In-app UI preview — not a static screenshot, so it updates as the page's sections and branding change. On a team project the cards show a captured preview image instead (open a page for the full live preview). Also where you edit branding (see below), and where you open a single page: hover a card and click edit. The canvas has three layouts (below). |
| List | A flat, searchable table of every section across all pages — great for spotting reuse. The count on the tab is sections, not pages. Search, Status and Type filter it, and are shared with the Sitemap canvas. |
| JSON | The raw page structure (admins only). |
Figure: The visual sitemap of your pages.
Sitemap layouts and filters
The control panel at the top left of the canvas switches between three layouts of the same pages. Switching slides each page from its card to its dot and back, and the canvas remembers your choice (or link to one with ?layout=force).
| Layout | What it shows |
|---|---|
| Sitemap | Page cards in a tree, top-down or left-to-right, with headers, sidebars and footers above them. |
| Rings | Pages, sections, criteria and layout elements as dots on rings by type. |
| Force | The same dots, pulled together with what they are linked to. This is what the old Graph tab showed; old Graph links open it. |
The panel narrows the canvas in every layout:
- Search matches a page's name, path or description, or any of its sections' names. Status and Type filter pages. These are the List tab's filters, and they carry over when you switch tabs.
- Filter by feature keeps only the pages tied to one feature's user stories.
- In Rings and Force, Pages / Sections / Criteria / Headers / Sidebars / Footers turn each type on or off.
- Click a page dot to open the page; click a header, sidebar or footer dot to edit it.
Needs attention
What needs fixing on your pages is a filter on the canvas, not a list above it. The Needs attention chip at the top of the control panel counts the blockers and suggestions on your pages. Open it to see each reason (blockers first), with the same one-click fixes as before: Resolve, Accept all, Review, and Ask agent.
- Click Show on a reason to narrow the canvas to just the pages, sections and layout elements it names. A section's problem lights up its page card in the Sitemap layout, and the section's own dot in Rings and Force.
- Everything shows every element that needs attention. The × next to the chip clears the filter.
- On the List tab the chip's Show opens the Sitemap canvas already narrowed to that reason.
Branding
Branding lives on the sitemap canvas, behind the palette button in the control panel at the top left. The tile holds your logos, the colour palette (primary, secondary, accent, background, and text tokens), heading and body fonts, border radius, and density — plus the header/sidebar/footer layout elements for the project.
Editing an axis re-renders the page cards on the canvas immediately, so you can see the effect before committing. Colour, font, radius and density edits are unsaved until you hit Save on the canvas bar, alongside any page-position or hierarchy changes. Logos are the exception: an upload is saved straight away.
These tokens feed both the in-app UI preview and any Tailwind config your coding agent produces.
How pages trace back to your spec
Nothing here exists in isolation. A feature like "User Authentication" produces /login, /register, and /forgot-password; each story maps to specific sections on those pages; and data dependencies are derived from the acceptance criteria attached to those stories. Change a feature and regenerating pages reflects it across the sitemap.
Pages also feed criteria back the other way: once pages exist, run Derive Criteria from Pages to catch UI behaviours the feature pass missed — see Acceptance criteria.
Adding more, or editing by hand
- Generate Additional Pages — a second pass that fills gaps against your current features.
- Edit metadata directly — rename routes, adjust priorities, and update descriptions without regenerating.
⚠️ Watch out: Generating pages before you have features produces a generic skeleton. Do features and stories first — pages are only as good as the requirements underneath them.
⚡ Power-user hints
- Check the Sitemap view first. Missing navigation paths and orphan routes are far easier to catch visually than in a list.
- Every arrow on the Sitemap has a source you can trace. A connection between two pages comes from a user story's navigate interaction (hover the arrow to see which one), a header, sidebar or footer menu, a real link in the page's generated code, or a connection you added yourself. VibeMap no longer draws arrows from AI guesses about which pages "should" link — so a page with no arrow in means no story leads there yet. Arrows keep up with your edits: add or remove a link in a section's code (by hand, with page chat, or by regenerating, repairing or restoring the section), or delete a story or feature whose navigate interactions drew an arrow, and the Sitemap updates on its own. Arrows you drew yourself are never removed.
- Use the List tab to kill duplication. If the same "Testimonials" section appears on three pages, consolidate before handoff so your agent builds it once.
- Order matters: pages → schema. Resist generating schema early. Every page you define adds context that produces more complete tables.
Author with your own agent (MCP)
Instead of clicking Generate Pages, a connected IDE agent can author the sitemap straight into the project on its own tokens — the "Prefer your own agent? Keep it on your tokens" disclosure under the button. Pages need a Starter plan either way: the gate is on the capability, not the engine, so a Free project can't have them authored over MCP either. Full detail: Two ways to generate.
💡 Tip: Database schema is not part of this pass — it's a separate, run-last step. See Generating the database schema.
↔ The traditional way
A designer or architect normally draws the sitemap and wireframe inventory by hand in Figma or a whiteboard, then reconciles it against the PRD manually. VibeMap derives the whole route map, section breakdown, and data dependencies straight from the spec — and keeps them traceable, so a feature change ripples through instead of silently going stale.
What's next
- Preview a page in the browser before you approve it → In-app UI preview
- See how the whole spec connects (and where it's incomplete) → Graph view
- Then design your data model → Generating the database schema