Interactive glass cards with fluid floating spheres and magnetic hover interactions. Explore the live demo and copy the source code.
1. Install Required Packages
npm install three ogl gsap react react-dom2. CLI Component Add
npx @apexphase/ui add orb-flow| Prop | Type | Default | Description |
|---|---|---|---|
size | number | 172 (card 1) / 128 (card 3) | Planar pixel diameter of the 3D fluid glass sphere viewport. |
type | 'flower' | 'metallic' | 'flower' | Visual shader mode: multi-frame floral morphing or high-gloss metallic chrome. |
speed | number | 0.5 | Propagation velocity of the magnetic ferrofluid advection waves. |
scale | number | 1.6 | Noise frequency zoom factor across the ferrofluid canvas coordinate space. |
turbulence | number | 1.0 | Distortion amplitude of the perpendicular curl vector field. |
fluidity | number | 0.1 | Smooth minimum blending coefficient controlling droplet coalesce viscosity. |
rimWidth | number | 0.2 | Bandwidth of the reflective rim caustic surrounding magnetic spikes. |
shimmer | number | 1.5 | High-frequency specular wave sparkle pulsating along fluid silhouettes. |
glow | number | 2.0 | Exponential specular gloss multiplier for key light reflections. |
mouseInteraction | boolean | true | Enables pointer drag, wake waves, and magnetic cursor deflection. |
Don't miss them.


