Skip to main content
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
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.
Changed your Figma file or code? Upload the new version to bring those changes in. Uploads don’t update on their own.