Creating a New Component
Just like how you’d create a normal design in Magic Patterns, you can prompt your component to life via plain text or with images.
We recommend being specific and using screenshots as references when possible for the best results.

Editing Components
Once you’ve created a component, you can make updates and publish new versions.
Using Components
There are two ways to use components from your library in designs:Connect Library to Preset
You can connect your library to a preset. This allows the AI to automatically use components from your library without needing to manually reference them with@.
Learn more about connecting libraries to presets.
Manual Reference with @
You can freely use components in other designs not connected to a Preset by referencing them in your prompt with the@ symbol.
How it works:
- Start typing
@in the chat - A component selector appears
- Select the component you want
- The component is added to your prompt
Example:
Updating & Upgrading Components
When you publish a new version of a component, you have two ways to upgrade instances in your existing designs:Bulk Upgrade Component Instances
When you publish a new version, a modal appears showing all designs that use that component. You can:- Select which designs you want to upgrade
- Click “Upgrade Instances” to update them all at once
- This allows you to upgrade multiple designs simultaneously

Manual Upgrade
- To manually update a component already being used in an existing design, after publishing a new version, go to the code tab, find the component, and click the “Update” button.
Video Tutorial on Updating Components
Deleting Components
You can also deprecate a component instead of deleting it, which means the AI will no longer use it in new designs.- On the dashboard, right-click the component
- Select “Deprecate”
- The component will be marked as deprecated and will not be used in new designs
