> ## Documentation Index
> Fetch the complete documentation index at: https://www.magicpatterns.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Choose how to export

> Send your design to Figma, your codebase, or a coding agent.

Click **Export** in the top right to see your options. The menu has two tabs:

* **Selected File:** export just the file you have open.
* **Project:** export everything in your MagicOS.

![The Export menu on the Selected File tab](https://cdn.magicpatterns.com/uploads/uyyrNUAudiy18i7XFRM2cq/ppt_pdf_.png)

![The Export menu on the Project tab](https://cdn.magicpatterns.com/uploads/kuTH3MWqgtrQgCuWaR9pbe/Project_tab.png)

## Which option should I use?

| You want to | Tab | Use |
| - | - | - |
| Keep designing in Figma | Selected File | Export to Figma |
| Download a slide deck as a PDF | Selected File | Download PDF |
| Download a slide deck you can edit in PowerPoint | Selected File | Download PowerPoint |
| Build it with a coding agent, like Cursor or Claude Code | Either | Hand off to an agent |
| Get the code as files | Either | Download .zip |
| Put the code in a GitHub repo | Project | Sync to GitHub |

The options in the **Selected File** tab depend on the kind of file you have open.

## Export to Figma

**Step 1**

Open the file you want to export, then click **Export**, then **Export to Figma**.

**Step 2**

Click **Copy**.

**Step 3**

Click **Open Figma**, or open any Figma file, and press **Cmd + V** (Mac) or **Ctrl + V** (Windows) to paste.

If you export a canvas, every screen on it goes to Figma, laid out the same way.

![The Export to Figma window with Copy and Open Figma steps](https://cdn.magicpatterns.com/uploads/9sjYSC5ENJFLaN7K4gp52C/Export_to_figma.png)

## Hand off to an agent

Connect a coding agent, like Cursor, Claude Code, or Codex, so it can build from your design.

Click **Export**, then **Hand off to an agent**. You can do this from either tab: **Selected File** hands off the file you have open, and **Project** hands off your whole project.

![The Hand off to an agent window](https://cdn.magicpatterns.com/uploads/qrZ9FfPmLJ3ztBmcQe6aG6/Hand_off_to_an_agent.png)

To help your agent rebuild the design with your own components, see [Adapt a prototype to your codebase](https://www.magicpatterns.com/docs/documentation/exporting/integration-skill.md).

## Download a slide deck

If you've made a slide deck, open it, click **Export**, and choose:

* **Download PDF:** one page per slide, as it looks when you present.
* **Download PowerPoint:** slides you can edit in PowerPoint.

![The Export menu for a slide deck, with Download PDF and Download PowerPoint](https://cdn.magicpatterns.com/uploads/bHG4iK5JYV5wE3E4HdgGfP/pdf_ppt.png)

## Download .zip

Click **Export**, then choose **Download .zip** from either tab:

* **Selected File:** downloads the file you have open as a runnable project.
* **Project:** downloads every design in your project as one runnable project.

The zip downloads straight away.

## Sync to GitHub

Click **Export**, then **Project**, then **Sync to GitHub**. Choose where to create the new repo, give it a name, and Magic Patterns will push your project to it.

![The Sync to GitHub window for choosing where to create the repo and naming it](https://cdn.magicpatterns.com/uploads/nHmH1E4NW69DjRDQDyqE8G/Sync_to_github.png)

Once your repo is created, the window shows your linked repo and when it was last synced.

* **Sync now:** push your latest changes to the repo.
* **Open in GitHub:** click the arrow icon next to the repo to open it.
* **Disconnect:** unlink the repo from your project.

![The Sync to GitHub window showing the linked repo, last synced time, and Sync now button](https://cdn.magicpatterns.com/uploads/s7SQUnDgpMMCBAHF6ErfuM/sync_to_github_2.png)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.