This page is a reference for how the integration works, what we need from you, and how to structure packages and documentation.Documentation Index
Fetch the complete documentation index at: https://magicpatterns.mintlify.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Using your real components means bringing your existing React component library into Magic Patterns. After everything is connected, the AI will:- Use your actual component code in generated designs
- Respect your component APIs, props, and variants
- Generate code with correct import paths
- Stay consistent with your design system
How we import your components
To import your components, we need two things:- Component documentation: either via Storybook or custom MCP. This serves as context for the AI to understand your components and when to use them.
- Component code: either via an NPM package plus access token, or a zip or tar bundle you send manually. This allows us to render the components in the Magic Patterns editor and ensures visual parity.
Read More:
Component code
Requirements, folder layout, and how to share access or a bundle.
Best practices
How to document components and keep imports predictable.
Next steps
Schedule a call
Book time to plan using your real components with your team.