Linking GitHub only needs read access. Magic Patterns reads the repository to
import your components and styles. It does not write to your repo.
Link a GitHub repository
1
Name your design system
In the Import a design system window, type a name under Name.

2
Connect your GitHub account
The first time you do this, click Connect, then Connect GitHub, then Authorize in the GitHub window that opens. You only need to do this once.

3
Find your repo
Search for it by name, or paste its URL, like
https://github.com/your-org/your-repo.4
Choose folders (optional)
For a large repo, select only the folder that holds your components, so Magic Patterns only scans that code.
5
Click Continue
Magic Patterns scans your repo and suggests the components, colors, and styles it finds. You review them before anything is added.
Upload a zip
Can’t reach your code in a GitHub repo? Upload a.zip or .tar of it instead, along with .fig files and docs. See Upload files.