Animated Card
A dynamic and customizable card component built for modern web experiences.
Basic Usage
Cursor-Following Glow Effect
This card creates a subtle radial glow that follows your cursor position.
Variations
Parallax Card
3D Parallax Layers
This card creates a depth effect with multiple parallax layers that move at different speeds.
Magnetic Card
Magnetic Pull Effect
This card is attracted to your cursor with physics-based spring animation.
Floating Card
Floating Particles Effect
This card features animated particles and a gentle floating animation on hover.
Morph Card
Morphing
Background morphs and follows cursor.
Ripple Card
Ripple
Creates ripple effects on mouse movement
Neon Card
Neon Card
Vibrant neon border glow effect
Holographic Card
Holographic Card
Rainbow holographic effect that changes with angle
Installation
Props
Name | Type | Default | Card | Description |
---|---|---|---|---|
strength | number | 40 | MagneticCard | The strength of the magnetic pull effect |
particleCount | number | - | FloatingCard | The number of particles for the floating effect |
className | string | - | All Cards | This prop is applied to the motion.div element, which represents the card itself and undergoes the motion effect |
containerClassName | string | - | All Cards | This prop is applied to the outermost div element, which acts as the container for the entire magnetic card effect |
neonColor | string | #ff00ff | MagneticCard | The color of the neon glow effect |