01. About NEXAGEN CODE
NEXAGEN CODE handles a website as pages → sections → elements. The editor has four areas plus the action buttons at the top.
- Site structure panel — pages and sections, the Design system and Assets. With several pages, each page shows its path (for example /services).
- Canvas — see how the site actually looks and click a section or text to select it.
- Properties panel — change the properties of the selected page, section or element. With nothing selected it shows "Select a page, section or element to edit."
- PRIME input — describe the change you want, based on the selected element or the current page.
The top bar holds the work modes (Design · Preview · Code), Guide, the save status, Undo/Redo, Data and Download ZIP. See Screen layout and Save and undo.
02. Getting started
NEXAGEN CODE starts at NEXAGEN CODE home. Continue one of your projects, or create a new one in one of three ways.
- Start from a preset — jumps to the preset gallery below.
- Plan with PRIME — jumps to the input box below. Describe the site you want and PRIME plans it with you.
- Starting from scratch — create a blank project with Start empty on the Simple website or web app or Fullstack website or app card. See Simple vs full-stack.
- Start from a preset — pick an industry preset card: "Your project is created with the preset's page structure and opens straight in the editor."
To come back here while editing, click NEXAGEN CODE home at the top left of the editor. To jump straight to another project, use Projects next to it.
03. Screen layout
Top left — work modes
- NEXAGEN CODE home — go back to the NEXAGEN CODE home with your projects and presets.
- Project name · Projects — click the name to rename it; use Projects to open a recent project or create a New project.
- Design · Preview · Code — switch the work mode. Keys 1, 2 and 3 work too. See Preview and code.
- Structure · Content · Responsive · Interaction — choose what to focus on in design mode. The Properties panel opens on that tab.
Bottom left — design system and assets
- Design system — open the panel for site-wide colors and theme. See Design system.
- All · Images · Videos — filter the project assets by type.
- Asset list — images linked to the project and the section that uses each. Items that failed to generate are marked as failed.
- Recommended visuals — shows a note such as "1 recommended visuals — create them from PRIME below" when recommended images have not been made yet.
04. Managing pages and sections
Add pages at the top of the Site structure panel and stack sections under each page.
- Page presets — choose a ready-made page made of several sections. See Presets.
- Add page — add an empty page.
- Search layers — find a section by name when there are many.
- Page row — shows the page name and path (for example /ecommerce). Use + (Add section) to add a section to this page and ··· (More) to open the page menu.
- Eye icon (Hide) — temporarily hide a section from the site without deleting it. Click again to show it.
Adding a section
Click + on a page row to open the Section type panel.
- Choose from the preset gallery — choose from finished section presets.
- Section types — click one of Header · Hero · Features · Social proof · Pricing · FAQ · CTA · Footer · Custom to add a basic section right away.
05. Managing multiple pages
One project can have several pages (for example Home, Services, Doctors, Booking). Each page has its own name, path, menu link and search information (SEO).
- Add page — add a new page to this project; you can rename it right away. For a page with ready-made sections, use Page presets next to it.
- Page list — each page shows its path next to its name. Click a page name to open it on the canvas; the Properties panel switches to page settings.
- Route — the address visitors open (for example /services). Routes start with / and use letters, numbers, - or _. They must be unique.
- Link in navigation — add a link to this page in every header menu. For pages already linked the button reads Remove from navigation. One Undo reverts it.
SEO per page
- SEO — select a page and open the SEO tab in the Properties panel (next to General).
- SEO title · SEO description — the title and description used in search results and the browser tab, per page.
- Hide from search engines (noindex) · Share image (OG) — keep the page out of search engines, or choose the image shown when the link is shared. You can also set a Canonical URL.
06. Building quickly with presets
The Preset gallery contains section presets and page presets that combine several sections. The top of the gallery currently shows 184 sections · 38 pages.
- Tabs — choose Sections · Pages · Industry starters · Favorites · Recent.
- Total count — the number of section and page presets available now.
- Page preset card — the card title (for example SaaS landing) and the order of sections inside. The number of sections is shown at the top right.
- Add as page — adds this combination as a new page.
Page preset examples on screen
| Preset | Sections (in order) |
|---|---|
| SaaS landing | Navigation · split → Hero · SaaS → Logos/trust · marquee → Features · bento → Features · tabs → Pricing · 3 columns highlighted → FAQ · sticky copy → CTA · floating → Footer · product |
| Startup | Navigation · floating → Hero · centered → Logos/trust · small logos → Features · numbered icons → Stats · big numbers → Testimonials · carousel → CTA · band → Footer · conversion |
| Corporate | Navigation · mega menu → Hero · story → Stats · split → Features · cards → Content · timeline → Logos/trust · bordered grid → Contact/location · info cards → Footer · link groups |
| Agency | Navigation · minimal → Hero · asymmetric → Industry · agency services → Industry · case studies → Testimonials · single highlight → Team · intro cards → CTA · text link → Footer · editorial |
| Portfolio | Navigation · minimal → Hero · portfolio → Gallery · project list → Gallery · masonry → Content · quote → Contact/location · centered → Footer · social |
| Creator | Hero · collage → Industry · link in bio → Blog · horizontal scroll → Industry · media video → Form · newsletter → Footer · social |
| Fashion | Navigation · announcement bar → Navigation · centered logo → Hero · fashion → Products · categories → Gallery · lookbook → Products · product grid → CTA · newsletter → Footer · commerce |
| Beauty | Navigation · centered → Hero · layered → Industry · beauty treatments → Gallery · before/after → Reviews · grid → Form · booking → Footer · centered |
| Online store | Navigation · announcement bar + links → Navigation · store → Hero · store → Products · product grid → Products · collection → Reviews · marquee → FAQ · 2 columns → Footer · commerce |
Scroll down the list for more page presets. Preset names above are translated from the Korean screen.
Section presets and changing a section's style
- In the Sections tab, pick one section and add it to the current page. You can combine search (for example hero, fashion, gallery, pricing …) with category filters.
- To change only the look of an existing section, use Switch style from the section's ··· menu or the Properties panel.
- Industry starters apply recommended colors, fonts and page structure for an industry in one step.
07. Section menu and organizing layers
Click ··· (More) on the right of a section row to open the section menu.
- ··· (More) — opens the section menu.
- Rename · Duplicate · Switch style · Lock · Move up · Move down · Delete — rename, copy, restyle, lock against accidental changes, reorder and delete the section.
- Move to page — move the section to another page.
- The gray text next to a section name (header, hero, features and so on) is the section type.
- Click > on the left of a row to expand the elements inside the section.
- Locked sections show Locked and hidden sections show Hidden.
08. Selecting a section and the Properties panel
Click a section row in the site structure panel or a section on the canvas to select it. The Properties panel and the PRIME input then work on that section.
- Selected section row — highlighted in the site structure panel; the section is also marked as selected on the canvas.
- Property tabs — Layout · Content · Style · Assets · Responsive · Interaction · Data.
- Switch style · Lock — restyle the selected section with another preset, or lock it.
- PRIME target — the selected section is shown above the input, for example "Hero · split selected". Requests made now apply to this section.
09. Editing text
Under the canvas you will see the hint "Click to select, double-click text to edit it, click an image area to change it." Text editing follows this hint.
- Double-click the text you want to change on the canvas (for example a menu label or a heading).
- Type the new text in place.
- Click outside the text to apply it; the save status at the top updates.
You can also ask PRIME. Select the section that contains the text and write the exact new wording in the PRIME input, for example “Change LOOKBOOK in the top menu to Collection”.
10. Layout and placement
When a section is selected, Placement appears near the top of the Properties panel and the layout tools appear further down.
Placement
- Placement mode — choose Background · Full width · Split · Normal for the basic image/text arrangement.
- Text position — click one of the nine cells to place the text.
- Overlay · Darkness — adjust the overlay type and darkness so text over an image stays readable.
- Height — choose the section height.
- Mobile — Hide image on mobile, and Default · Image first · Text first for the mobile order.
Layout tools
- Gap — spacing between elements in the section.
- Align — horizontal (left, center, right) and vertical (top, middle, bottom) alignment.
- Distribute — distribute elements horizontally or vertically, or make them equal width.
- Container · Max width (px) — how wide the content may be.
- Position · Min height — positioning and the minimum section height.
11. Editing style
Section colors and surface feel are set in the section settings of the Properties panel. The current screen has these items:
| Item | What it does |
|---|---|
| Background | Pick the section background from the design system colors. |
| Text color | Pick the section text color from the design system colors. |
| Section spacing | Pick the vertical spacing of the section. |
| Surface | Pick a surface style such as flat, bordered, glass or floating cards. |
| Alignment | Pick the default alignment of the section content. |
12. Using the design system
Design system manages the theme and colors used across the site in one place. Open it from the bottom left or from the Design system button in the Properties panel.
- Theme — choose the site's base theme: Light or Dark.
- Design direction — a summary of the site's design direction, such as site type, composition and things to avoid.
- Colors — change background, surface, card surface, body text, secondary text, border, primary button and other colors with the swatch or a HEX value.
Section style vs. design system
| Change | Affects | Use it when |
|---|---|---|
| Design system color | Every section that uses that color | You change brand colors or align the whole site's tone |
| Section style | Only the selected section | You want one section to use a different background or text color |
13. Checking responsive layouts
Use Desktop · Tablet · Mobile on the right of the second toolbar row to view the canvas at each screen size.
- Desktop · Tablet · Mobile — change the canvas width. Screen widths you added appear next to them.
- Responsive — select a section or element and change per-size settings in the Responsive tab of the Properties panel.
- Canvas — shows the site at the chosen size. In mobile view you can also check the mobile menu.
- For sections with images, set Hide image on mobile and the mobile order (Image first / Text first) under Mobile in Placement.
- You can also ask PRIME, for example “Show the cards one per row on mobile” or “Use a bottom tab bar for the menu on mobile.”
14. Reusing sections as components
To use the same section (for example a shared header or footer) on several pages, save it as a component. Select the section and scroll to the bottom of the Properties panel.
- Layer — set the stacking order with Z-INDEX and Bring to front · Bring forward · Send backward · Send to back.
- Component · Global section — Save as component turns this section into a reusable component. As the panel explains, you can place it on other pages and update the master to apply changes everywhere.
15. Replacing images
Select a section with an image and the visual area appears at the top of the Properties panel. Clicking an image area on the canvas takes you to the same place.
- Preview — the current image and its status. If generation failed, a message and a retry button appear.
- Replace with AI — create a new image with AI for this slot. This uses credits.
- Replace with my image — upload your own image file.
- Choose an existing image — choose from images already in this project.
- Placement — change how the image and text are arranged. See Layout and placement.
16. Asking PRIME for changes in plain language
In the PRIME input at the bottom, you ask for changes based on the page or element you selected. Instead of changing properties yourself, describe the result you want.
- PRIME target — shown above the input. With a section or element selected it reads "Hero selected"; with nothing selected it shows "Current page" and the current screen size.
- Examples — when you first click the input, example requests for the current selection appear. Clicking one only fills the input; it is never sent automatically.
- Model — the default Auto picks a model for the request. Only models that actually run NEXAGEN CODE requests are listed. To choose yourself, pick [Advanced] in the model list and select one of the models shown.
- Send — send the request. Enter sends, Shift+Enter adds a line. You can also use the microphone button to speak your request.
Examples by scope
| Scope | Selection | Example |
|---|---|---|
| Selected element or section | Select a section or element | “Make this headline shorter.” “Move the button to the right.” |
| Current page | Select the page or nothing | “Add an FAQ section to this page.” “Make the colours of the whole page calmer.” |
| Whole site | Nothing selected | “Make the header dark navy on every page.” |
| Create a page | Any | “Add a services page.” “Add an about page and put it in the top menu.” |
| Replace an image | Select a section with an image | “Replace the hero image.” “Replace this image with a studio shot of the same product.” |
| Responsive change | Any | “Show the cards one per row on mobile.” “Use a bottom tab bar for the menu on mobile.” |
| Connect data | Select a section with a form | “Save the contact form entries to the database.” |
Using reference images and My Assets
Select the [+] button in the PRIME input at the bottom to pick an existing image from My Assets or upload a new one. An attached image can be used as a style reference for the site or placed on a page as a real image.
- + button — opens the shared attachment window. Upload an image on the upload tab, or pick one or more existing images from My Assets on the library tab. NEXAGEN CODE accepts images only.
- Attached image — shown as a small preview with its file name. Remove it with ×; sending waits while an upload is in progress. Multiple images are numbered first, second and so on in the order you attached them.
- Request — say how to use the image. Words such as 'use it as a reference' or 'just the feel' keep it as a style reference without placing it on the site. 'Use this image' or 'replace with this image' places it in the selected area.
- Send — sends the request together with the images. PRIME actually looks at the images and edits the currently selected section.
- Request history — the request and its images stay visible, also after a reload.
- Edited area — only the selected Hero changes; other sections and pages stay the same. Only images actually placed on the site are included in the ZIP download; reference-only images are not.
- “Use this image as a reference and make the Hero feel more premium.”
- “Use the attached product photo in this card.”
- “Follow the layout of the first image and the colors of the second image.”
Reviewing and undoing results
- When PRIME finishes, a result summary and PRIME's reply appear above the input and the canvas updates. If a new page was created, the editor moves to it.
- Not happy with it? Click Undo change next to the summary, or Undo at the top. Everything PRIME changed in one request is undone in one step.
- Requests that need a new image first show the image plan and the credits required. The image is generated, and credits are used, only when you press that button.
17. Save, undo and redo
Edits are saved automatically. Check the save status and the undo buttons at the top right.
- Guide · Tour — open this guide in a new tab, or run the quick or detailed tour again.
- Save status · Undo · Redo — shows Saved, Saving, Save failed or Conflict. Undo and redo are Ctrl/Cmd+Z and Ctrl/Cmd+Shift+Z; hover over the buttons to see the name of the action.
- Data — open the panel for embedded DB collections and data. See Data.
- Download ZIP — download the project as a ZIP file. See Download ZIP.
History
The History button at the top: Review recent changes and undo them. Recent requests and changes are listed in time order, each with what changed and its status (Done · Failed and so on). Use Show location to see where it changed on the canvas, and Undo to cancel just that change. A small dot appears on the button when new work is recorded.
18. Preview, code and run result
| Mode | Use |
|---|---|
| Design | The main mode for editing with the site structure panel, canvas and properties panel. |
| Preview | Hides the editing tools and selection so you see what visitors see. If you edited the code directly, it shows the actual build of that code. |
| Code | View and edit the project code like an IDE (see below). |
The Code mode screen
The file list is on the left, the code editor in the middle and the run result on the right. Each file shows its language (HTML · CSS · JS · JSX · TS · TSX · JSON), and the code has line numbers with keywords, strings, numbers, functions, tags, attributes and comments in different colors.
- File list — files with their language. The status on the right (in sync · different · not generated) compares with the code generated from the design.
- Editor — line numbers, current-line highlight, bracket matching and search (Ctrl/Cmd+F).
- View · Edit · Compare tabs.
- Run result — the saved code actually built and running. It is the same build as the share link, viewable at desktop, tablet and mobile widths.
| Tab | Description |
|---|---|
| View | View the saved code in read-only mode. |
| Edit | Edit the code directly. |
| Diff | Compare the saved version with your current changes. |
Edit and save code
- Pick a file and open the Edit tab.
- Change the code and press Save (or Ctrl/Cmd+S). The syntax is checked before saving.
- If there is a syntax error, nothing is saved and the file, line, column and message are shown; the line is marked in red. The run result and preview keep the last valid saved version.
- Once saved, the run result and preview update right away, and you can undo the change.
In Compare, the left side is the saved version and the right side is your current edit. Added lines are green, removed lines red, and long unchanged parts are folded. With no pending edit you can compare the saved code with the code generated from the design.
19. Using data (embedded DB)
Click Data at the top to open the panel that manages this project's embedded DB. Define the data your site stores and shows here — products, menus, contact form entries and so on.
- Project type · Use built-in DB — the project type (Simple website or web app / Fullstack website or app) is shown next to the panel title. Turn on Use built-in DB to create collections. "Data is stored in this project's built-in DB and works the same way in the exported project."
- Collections — the list of data sets (for example menu). Add one with New collection, or describe what to store under Suggest a schema from a description to get a suggestion (Rule-based suggestion. Review and edit before applying.).
- Fields · Data — set field names and types (text, number, date, image URL and more) on the fields tab and press Save schema. Add, edit and delete rows on the data tab.
Access
| Access | Meaning |
|---|---|
| Public read | Anyone can read the data (for example a menu or product list). |
| Private per user | Signed-in users see and edit only their own data. Use it with sign-in in full-stack projects. |
| Submit only (forms) | Visitors can only submit (for example a contact form). Check submissions on the data tab. |
Connecting pages and forms
- Add list to page — Adds a section showing this collection's data to the current page.
- To save a contact form, select the section with the form and ask PRIME: “Save the contact form entries to the database.”
20. Simple vs full-stack
You choose the project type when you create a blank project (item 3 in the Getting started screenshot). The current type is shown next to the data panel title.
| Type | Use it for | What you download |
|---|---|---|
| Simple website or web app | Great for quick prototypes, landing pages and small applications. Add a built-in database when you need one. | Website files. With the embedded DB on: Includes the website, a Node.js server, built-in DB schema and data, and a README. |
| Fullstack website or app | Build a web service with sign-in, account management, a backend API and a database. | Includes the frontend, Hono backend, authentication and DB schema. |
- In full-stack projects the data panel has the Need sign-in? option. Sign-in requires data storage.
- Sign-up, log-in, log-out and the protected API work the same in Preview, on the share link and in the exported project. Data saved by members appears in the Data tab here.
- Full-stack projects come with member pages such as sign-up, log-in and my account, and member-only pages are visible only to logged-in members. Features that store data, such as log-in or bookings, are set up together with the project's data features.
21. Sharing
Use the Share button at the top to turn the current saved version into a working site and share it with a link. People with the link can view the finished site without signing in; the editor, PRIME menus and project details are not shown.
- Access — Private or Anyone with the link. Choosing Anyone with the link builds the saved version and creates the link.
- Share link and Copy link — shows "Link copied."
- Last updated · share version · open in new tab, and whether you edited after sharing.
- Update share · Stop sharing.
| Preview | Share link | |
|---|---|---|
| Who sees it | You, while editing | Anyone with the link (no sign-in) |
| When it changes | Immediately | When you press Update share |
| Screen | Inside NEXAGEN CODE | Only the finished site (no editing tools) |
- Editing after sharing does not change the link. When the dialog says you have edits made after sharing, press Update share.
- If the build fails when updating (for example a syntax error), the link keeps showing the previous version and the error location is shown in the dialog.
- After you stop sharing, the old link shows a page saying sharing has ended or the page does not exist. Sharing again reopens the same link.
- The shared site opens with its own responsive layout on desktop, tablet and mobile. Multi-page sites can be navigated with their menus.
22. Download ZIP
Use the Download ZIP button next to Share at the top right to download the project as a ZIP file. The button shows the format it will download.
- Download ZIP — download in the format shown right away: Web app + DB for projects using the embedded DB, Fullstack for full-stack projects, otherwise the default output format (for example Next.js).
- ⌄ (Download in another format) — open the format list.
- Download project files · Website only (frontend) — download the project files (server, DB and README included), or only the front end as Next.js (Best for SEO and multiple pages · Next.js App Router (static export)), React (Interactive app-like UI · React + Vite) or HTML website (Open right away, no install · HTML/CSS/JavaScript). Projects without the embedded DB show only the Output format list.
- Hosting note — "Run the downloaded files on your own server or hosting service. NEXAGEN does not provide cloud hosting."
- React comes with the notes "On static hosting, route all paths to index.html." and "Without server rendering, per-page search metadata is limited."
- For HTML website: "Server features are not included in the HTML format."
- If some images are not ready yet, you are told before downloading, for example "2 images are not ready yet."
23. Help — tooltips and the first-use tour
Button tooltips
- Button — hover for a moment over a button that is icon-only or not obvious at first sight (for example Data, Undo or the eye icon).
- Tooltip — shows the feature name and a one-sentence description, with the shortcut on the right when there is one. It disappears as soon as you move away or click, and never blocks the button.
- Tour — open the card for the quick or detailed tour again.
- When you move with Tab, the focused button's tooltip appears right away; press Esc to close it.
- On touch screens, a short tap runs the button as usual; a long press shows only the description without running it.
Tours — quick tour and detailed tour
The first time you open the editor, a start card appears. Choose Quick tour, Detailed tour or Later. Tour at the top opens the same card again.
| Option | What it does |
|---|---|
| Quick tour | Highlights seven main areas in turn: Projects and pages → Canvas → Properties panel → PRIME input → Preview and screen sizes → Data → Share and export. At the end you can start the detailed tour right away. |
| Detailed tour | Opens the real tabs and windows and walks you through each feature (table below). |
| Later | Closes the card. |
What the detailed tour opens
| Topic | What changes on screen |
|---|---|
| Pages | Selects the first page → selects another page (with two or more pages) → shows where Add page is, then opens the Page presets window |
| Top design tabs | Selects Structure · Content · Responsive · Interaction in turn. In the responsive step the screen size switches Tablet → Mobile → Desktop. |
| Properties | Selects the hero (or the first section), then opens the Layout · Content · Style · Assets · Responsive · Interaction · Data tabs in turn. Settings further down are shown by scrolling the panel, and the Assets tab opens the Choose an existing image list. |
| PRIME | Input box → model list → attachment window (Upload · Browse assets · My assets · NEXAGEN Assets) → using reference images → how a request result appears |
| History | Opens the History window |
| Data | Opens the Data window. Projects using data features open the Overview · Schema · Records · Connections · Export tabs in turn (full-stack projects also Members); other projects show only the start guidance. |
| Full stack | Only in full-stack projects: opens member pages such as sign-up, log-in and my account in turn. |
| Code · Preview | Switches to Code and scrolls the file list, then switches screen sizes in Preview. |
| Share · export · projects | Opens and closes the Share window → the Download in another format menu → the Projects menu in turn. |
- Back · Next — go to the previous or next step. The ← and → keys do the same.
- Skip — in the detailed tour, skips the remaining steps of the current topic and goes to the next topic.
- End — closes the tour. Esc does the same. You return to the mode, screen size and selection you had before the tour.
- The card shows your position (for example 8 / 30). The total depends on the project's number of pages, whether it uses data features and whether it is full stack.
- Windows opened in a step close when you move on, so windows never stack. The tour does not change your project (the add-page step does not actually create a page).
- On mobile the card sits on the opposite side (top or bottom) of the highlight, and the tour opens the Pages, Edit and PRIME tabs at the bottom when needed.
24. Troubleshooting
| Situation | Where to look and what to do |
|---|---|
| An image slot shows a generation failure | Press Try again in the visual area or change the request text and try again. You can also use Replace with my image or Choose an existing image. |
| The asset list shows a failed item | Select the section that uses the image and regenerate it in the visual area, or replace it. |
| AI image generation does not proceed | Check your credits. AI generation uses credits. |
| The save status is Save failed | Press Retry save. |
| The save status is Conflict | The project was changed elsewhere. Load latest version loads the latest version and discards unsaved changes. |
| Undo does not do what you expected | Hover over Undo to see the action name, then undo one step at a time. Use Redo to re-apply. |
| You don't like PRIME's result | Use Undo change in the result summary, then select the target section or element and ask again more specifically. |
| A new page is not in the menu | Select the page and press Link in navigation in the Properties panel. |
| The page path is not saved | Routes start with / and use letters, numbers, - or _. They must be unique. |
| You cannot create collections in the Data panel | Check that Use built-in DB is on. |
| The layout looks off on mobile | Switch to Mobile and check Mobile in Placement and the Responsive tab. |
| Content looks different after applying a preset | Check headings, text, buttons and images on the canvas, and use Undo if needed. |
| An image note appears before Download ZIP | Some images are not ready yet. Create them first, or read the note and download anyway. |
| You want to see the tour again | Press Tour at the top. |