> ## 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.

# Upload files

> Import a design system from a .fig file, a zip of your code, or your docs

Upload files when your design system isn't in a GitHub repo Magic Patterns can reach, or when part of it lives outside your code, like a Figma file or written guidelines. An upload is a one-time import.

You can upload:

* Figma files: `.fig`, up to 75 MB.
* Code: a `.zip` or `.tar` of your component library, up to 500 MB.
* Docs and pages: `.md` guidelines and `.html` pages.

You can add more than one file, and mix them with a GitHub repo or package in the same design system.

![The Import a design system window with a drop zone for .zip, .tar, .html, .md, and .fig files](https://cdn.magicpatterns.com/uploads/xsJLY7FQhHrbiK45wW9WZJ/CleanShot_2026-12-01_at_2.56.36_PM2x.png)

**1. Open the import window**

Click the **+** next to **Resources** in the left sidebar, then choose **Design System**. You can also choose **Import your design system** when you open a new project.

**2. Click Upload files instead**

In the Import a design system window, click **Upload files instead**.

**3. Add your files**

Drag and drop your files, or click to browse. Each one shows up under Sources on the right.

**4. Name your design system**

Type a name under **Name**.

**5. Click Continue**

Magic Patterns reads your files and suggests the components, colors, and styles it finds. You review them before anything is added.

> [!TIP]
>
> Changed your Figma file or code? Upload the new version to bring those changes in. Uploads don't update on their own.

## Related topics

* [Choose how to import](https://www.magicpatterns.com/docs/documentation/design-systems/importing/overview)
* [Import from code](https://www.magicpatterns.com/docs/documentation/design-systems/importing/github.md)


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