Export & Handoff
Export images, SVG and PDF
Export writes what you select to files: pictures (PNG, JPEG, WebP) at the scales you need, SVG for the web, PDF for print and review. Each file holds its node and everything in it, and nothing else on the page. Exporting is in Nox Free, and it changes nothing in the document.

Open the export sheet#
- Select what to export: one node, several, or a layer inside an instance (double-click into the instance first). With nothing selected, the sheet lists the frames on the page.
- Choose File › Export… (⇧⌘E), or press Export… in the last section of the inspector.
- Choose a Format, and for a picture one or more Scales.
- Untick anything in the list you do not want. Each row says its size in pixels.
- Press the button, which says how many files it will write, and choose a folder.

Each file is named after its node, with no two alike. With several scales, the larger are marked as assets are: Card.png, [email protected], [email protected]. Name your layers before you export, and the folder reads like a list of the design.
Formats#
| Format | Use it for | What to know |
|---|---|---|
| PNG | Screens for review, app assets, anything with transparency | Lossless. Transparent wherever the node covers nothing, unless you include the page's background |
| WebP | The same, smaller | Lossless, or Lossy with a quality you set on the slider |
| JPEG | Photographs, large opaque screens | Smaller, never transparent: without the page's background it is on white. Quality 90 unless you change it |
| SVG | Icons, logos and marks for the web | Shapes stay shapes and text stays text |
| Print, review, a deck of screens | Shapes and text stay sharp at any size, and the text can be selected and searched |
Scale is pixels to a unit. A 390 × 844 screen is 780 × 1688 pixels at 2×. Export at 2× for anyone who will look at it on a Mac or a phone, and at 1×, 2× and 3× for assets an app loads. For SVG and PDF the scales are dimmed: shapes are sharp at any size.
An SVG or a PDF says what it can as shapes. A node that draws what the format has no way to say, such as a background blur, glass or noise, is in the file as a picture of that node, and the rest stays shapes. Text in an SVG is set in its font by whatever opens the file, so that font must be there.
For an icon, the SVG sheet has one more switch: One colour as currentColor (for the web). See Check and export icons.
Room for shadows#
A picture is cut at its node's box. A card's shadow lies outside that box and is cut off with it.

Turn on Room for shadows and each picture grows to hold everything its node draws outside its box: its drop shadows, the soft shadow of Lighting & Depth, and a layer blur. The room is rounded up to whole units, so every scale lands on whole pixels. The card above is 342 × 182; with room for its shadow, its picture is 414 × 254.
The switch beside it, Slice file (.json) beside each, writes where the node lies inside that larger picture. It is for game engines: see Export for a game engine.
Very long pictures#
A long landing page, a timeline or a map can be far larger than a screen. A picture longer than 16,384 pixels on a side is drawn in tiles and put together into one file, with no seams. It can be up to 65,536 pixels on a side, and about 268 million pixels in all.
A strip 20,000 wide and 600 tall exports at 2× as one PNG of 40,000 × 1,200. At 4× it would be 80,000 wide, and the export is refused with the size it would have been. Choose a smaller scale, or export the parts.
Export through an agent#
Five tools export. None changes the document. Those that write files take absolute paths on your Mac, and none replaces a file already there unless it is given overwrite: true.
| Tool | What it writes |
|---|---|
export_image | One node as a PNG, WebP or JPEG, at any scale from 0.01 to 16 |
export_assets | Several nodes into a folder, at scales 1 to 4, named as the sheet names them. Every file or none |
export_svg | One node as SVG, given back as text |
export_pdf | Several nodes as one PDF, a page each, each page the size of its node |
export_layer | One layer inside an instance, alone, as a picture, SVG or PDF |
Export the Home screen at 2x as a PNG to /Users/you/Desktop/[email protected].
The agent calls export_image with:
{
"node": "300867026:2",
"path": "/Users/you/Desktop/[email protected]",
"scale": 2
}
The format comes from the path's ending. The reply gives the file's size, "width": 780, "height": 1688, and its bytes. background fills what the node does not cover: a PNG given one is written with no transparency at all, which is what the App Store asks of an app's icon.
For assets an app loads, export_assets writes the whole set in one call. effects is Room for shadows:
{
"ids": ["300867026:3", "300867026:6"],
"folder": "/Users/you/Projects/app/Assets",
"scales": [1, 2, 3],
"effects": true
}
The reply lists each file with its node, scale and size: here Card.png at 414 × 254, [email protected], [email protected], and the same three for the button.
For a review deck, export_pdf takes the screens in order:
{
"nodes": ["300867026:2", "300867026:3"],
"path": "/Users/you/Desktop/Weekly.pdf"
}
The sheet writes one file for each thing, so one PDF of several pages is made this way.
export_layer reaches inside an instance: the icon of a tab bar item, the label of a button. instance is the instance on the page, and inside is the way to the layer, ending with the layer's id in its component:
{
"instance": "300867026:15",
"inside": ["300867026:13"],
"path": "/Users/you/Desktop/home-tab.svg",
"current_color": true
}
Export the parts an app draws itself as files, and leave the rest to code: text, plain colors and rounded rectangles are better built than shipped as pictures. Copy as SwiftUI and CSS covers the code.