Magnetic Elements
High-performance magnetic interaction component with attract, repel, elastic and orbit effects
Pro features
What the Pro version adds to this component.
Multiple Effect Types
Attract, repel, elastic, and orbit interactions
Smooth Interactions
Optimized lerp-based smooth transitions
Rotation & Scale
Dynamic rotation and scaling effects
3D Tilt
Perspective-based 3D tilt effects
Glow Effects
Customizable glow on interaction
Performance Modes
Optimized for different devices
Installation
Install via CLI
npx @moontra/moonui-cli add magnetic-elementsUsage
Build with Magnetic Elements
Create engaging user interfaces with magnetic interactions. Elements that attract, repel, and respond to cursor movement.
Examples
Quantum Computing Platform - Interactive Nodes
Experience quantum computing visualization with magnetic interaction nodes representing quantum states
AI Neural Network - Magnetic Nodes
Visualize artificial intelligence processing with magnetically interactive neural network nodes
Blockchain Infrastructure - Connected Network
Interactive blockchain visualization with magnetically connected network nodes
Space Exploration - Orbital Controls
Navigate through space with magnetically orbital control interfaces
Cybersecurity Shield - Defense Matrix
Advanced threat protection with magnetically responsive security interfaces
Data Analytics Dashboard - Interactive Cards
Real-time data visualization with magnetically interactive dashboard cards