# Limits

> Draft for `/docs/limits`. Every number was read from the source on 2026-11-22 (file named in the last column). Request-rate limits are **not built yet** (go-live checklist B1); add them to this page when they are.

## Artboard HTML

| Limit | Value | Source |
| --- | --- | --- |
| HTML per artboard | 2 MiB (UTF-8 bytes) | `services/designs.ts` |
| HTML in one tool argument | no hard limit; above about 20 KB use `begin_html_upload` (parts of up to 32 KB, or one PUT of the file) | `services/html-uploads.ts` |
| Open HTML uploads per person | 20, each for one hour and at most 128 parts, used up by the save | `services/html-uploads.ts` |
| Shared stylesheet | 256 KB; one `<style data-nv-shared>` per artboard; `set_design_styles` and `set_design_part` together 5 at once then 1 a minute, re-saving at most 16 MB a call and 64 MB a day | `services/design-styles.ts` |
| Shared parts | 8 per design, 64 KB each (ids included), stored as the HTML parser writes it back (quoted attributes, closed elements); no `<noscript>`, every `<form>` closed inside the part; at most 64 `data-nv-part` names per artboard; one host per part per artboard; no `data-nv-part` or `data-nv-shared` inside a part; the filled HTML within 2 MiB; `set_design_part` shares `set_design_styles`' limit and byte budget | `shared-parts.ts`, `services/design-parts.ts` |
| Element nesting | 1000 levels | `html-ids.ts` |
| Width and height | whole numbers up to 100 000 px; default 1440 × 900 | `services/designs.ts` |
| Design title, artboard name | 200 characters | `mcp.ts` descriptions |

## What an artboard may load

An artboard is one self-contained HTML page. Put CSS in `<style>` or inline, and images in `data:` URLs or inline SVG.

Prefer HTML and CSS. Use JavaScript only for interaction inside the page; it has no network access: inline every image as a `data:` URL; Google Fonts are the only remote resource.

| Resource | Everywhere: canvas, Play, version previews, screenshots, thumbnails, PNG and PDF, HTML and ZIP downloads |
| --- | --- |
| The artboard's own HTML, inline CSS, inline `<script>` and `on…` handlers | Yes (scripts run in a sandbox) |
| `data:` and `blob:` images and media, `data:` fonts | Yes |
| Google Fonts (`fonts.googleapis.com` CSS, `fonts.gstatic.com` files), up to 2 MiB per file in screenshots | Yes |
| Any other remote image, stylesheet, script or font; `<script src>` of any kind | **Blocked.** The screenshot result lists the hosts. |
| `fetch`, XHR, WebSocket, `sendBeacon`, form submission, nested frames, `eval` / `new Function` | **Blocked.** |

So: if it is not inline, a `data:` URL or a Google Font, it does not load. One policy (a Content-Security-Policy) applies in every place an artboard renders, so what the screenshot shows is what reviewers see.

Scripts in an artboard run in a sandboxed frame on a separate site (`nauvidusercontent.com`). They cannot read nauvid's cookies, call nauvid's API as the reviewer, reach the page around them, or call any other site. HTML downloads carry the same policy as a `<meta>` tag. What no browser policy stops: a page moving its own frame to another address, or opening a WebRTC connection (see https://nauvid.com/security).

## Screenshots

| Limit | Value |
| --- | --- |
| Scale | 0.5, 1 or 2 output pixels per CSS pixel; default 1 |
| Largest image | about 8 megapixels and 8000 px per side; larger artboards are scaled down. An agent's screenshot of a whole artboard taller than 4096 px: about 4 megapixels (ask for parts with `top` and `height`) |
| Tallest capture at once | 40 000 px; a taller artboard is refused (413) unless you ask for a part with `top` and `height`, and is not exported as PDF |
| Rendering at once | 2; further requests queue (up to 50 waiting) |

## Images, PDFs and videos

| Limit | Value |
| --- | --- |
| One image or PDF | 25 MB |
| Pages in a PDF | 200 |
| Images and PDFs in a design | 200 together |
| Videos in a design | 100; YouTube and Vimeo links only |

Images and PDFs count toward the team's storage; videos do not. More in [Images, PDFs and videos](media.md).

## Comments

| Limit | Value |
| --- | --- |
| Comment or reply | 10 000 characters |
| Threads per `list_comments` page | 20 by default, `limit` up to 200; `next_cursor` for the next page |
| Designs per `list_designs` call | 200 |

## Live cursors

People viewing a design see each other's pointers and selections. Agents have no pointer: they show up in presence and with the editing ring.

| Limit | Value |
| --- | --- |
| Pointer updates a browser sends | about 10 per second, only while the pointer moves |
| Pointer updates the server accepts per tab | 15 per second; more are dropped without an error |
| Selection updates per tab | 10 per second |
| A pointer that stops moving | hidden after 5 seconds |

Pointer positions and selections are passed on to the other people in the design and then forgotten: never stored, never logged.

## Kept, not erased

- Every artboard version is kept: `list_artboard_versions` lists them, `restore_artboard_version` brings one back as a new version.
- `delete_artboard`, `delete_design` and `delete_project` are soft: `restore_*` brings everything back (a project: for 30 days).
- Resolved comments stay and can be reopened.

## Not there yet

No chat notifications (email notifications for mentions and replies are on by default, Settings → Notifications). [Search](search.md) matches words, not meaning. Large pages and images go in by upload (`begin_html_upload`, `add_image`). See [Pricing](beta.md) for what it costs.
