Ways to import
GitHub
Link a repository and pull components and styles straight from your code.
Local Code Folder
Upload a zipped export of your component library from your machine.
NPM Package
Connect a published React component library so the AI uses your real code.
Figma
Import frames and components from a Figma file.
Your website
Match colors, fonts, and styles from a live website.
How linking works
When you create a Design System, you can link sources during onboarding (or later, from Access & Settings). After you link a source, Magic Patterns scans it and proposes the components, colors, typography, and tokens it finds. You review what gets imported before it lands in your Design System.Connecting your real engineering design system
Enterprise teams often want generated UI to match a real engineering handoff: the same React components and import paths your product ships with, not only visual parity. That flow is not fully self-serve because every codebase has nuances (build configs, token formats, export conventions) that benefit from a guided setup.Schedule a call
Book time to plan connecting your real component library with your team.