MagneticField
- from @fancy-ui
- by fancy-ui <https://fancy-ui.rama.app>
Items are pulled toward a magnet and lean toward it, light ones more than heavy ones, then spring home. The magnet is the pointer or a draggable puck.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @fancy-ui/magnetic-fieldLive preview
No live preview has been built for this component yet.
Registry dependencies4
Packages0
No npm packages are installed with it.
