Getting Started
Templates
Components
Special Effects
Animations
Text Animations
Backgrounds
Frontend Developer focused on Interactive UI & Performance
I'm passionate about visual presentation and currently focusing on interactive UI.
import { MagicCard } from "@/components/ui/magic-card"<MagicCard>
<div className="p-4">
<p>Hello World</p>
<span>Hover me</span>
</div>
</MagicCard>| Prop name | Type | Default | Description |
|---|---|---|---|
children | React.ReactNode | - | The content to be rendered inside the card |
className | string | - | Additional CSS classes to apply to the card |
mode | "gradient" | "orb" | "gradient" | Display mode: gradient or orb effect |
gradientSize | number | 200 | Size of the gradient effect |
gradientColor | string | #262626 | Color of the gradient effect |
gradientOpacity | number | 0.8 | Opacity of the gradient effect |
gradientFrom | string | #9E7AFF | Start color of the gradient border |
gradientTo | string | #FE8BBB | End color of the gradient border |
glowFrom | string | #ee4f27 | Start color of the orb glow effect (orb mode only) |
glowTo | string | #6b21ef | End color of the orb glow effect (orb mode only) |
glowAngle | number | 90 | Angle of the orb glow gradient (orb mode only) |
glowSize | number | 420 | Size of the orb glow effect (orb mode only) |
glowBlur | number | 60 | Blur amount of the orb glow effect (orb mode only) |
glowOpacity | number | 0.9 | Opacity of the orb glow effect (orb mode only) |