Replies: 2 comments
-
|
Hello! @jooles Here’s how you can integrate MagicUI into your Framer project: Steps to Use MagicUI in Framer:
Alternative Approach: Embedding MagicUI via Iframe (if Direct Integration Doesn't Work)If you're facing issues integrating MagicUI directly into Framer, another approach is to create a separate MagicUI project (e.g., a simple React app) and then embed it in Framer using an iframe.
This way, you can still utilize MagicUI’s components within your Framer prototype without direct integration. Key Notes:
|
Beta Was this translation helpful? Give feedback.
-
|
@jooles @rajtilak-2020 1. InstallationMagic UI (magicui.design) is not distributed as an npm package, so: npm install magic-ui
# or
yarn add magic-uiis not the correct setup. There is no official magic-ui package published on npm. ✅ Recommended ways to use Magic UI
2. Import PatternMagic UI follows a copy-paste / local source model, similar to shadcn/ui. That means components are imported from your local project path, not from a package. import { Globe } from "@/components/ui/globe"
// or
import { ShimmerButton } from "@/components/magicui/shimmer-button"This pattern: import { Button } from "magic-ui"is not supported, since Magic UI is not consumed as an npm dependency. Happy to help clarify further depending on your specific Framer setup (Framer Sites vs Code Components, etc.). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone!
I'm using Framer to build one of my sites.
I would somehow like to use magicUI in framer, but so far I haven't managed to do it.
Therefore my question: Is this even possible?
Thanks and best regards!
Beta Was this translation helpful? Give feedback.
All reactions