← All components Next componentCybernetic Orb Engine→
Advanced · Portal
Shader Fluid Portal
A tear in the page onto another universe, rendered off-screen and seen through gravitational lensing, ringed by a rippling accretion disc; the membrane stretches toward the pointer.
<ShaderFluidPortal />Live
Move over the portal
Customize
Accretion disc#ff7a3d
Nebula#6d28d9
Installation
Use it in your project
Or skip the copy-paste
One command: writes the file and installs the dependencies.
$ npx deepui-cli add shader-fluid-portal
Pro component: run npx deepui-cli login first with a token from your library.
01
Install
The 3D packages this component is built on.
$ npm install three @react-three/fiber @react-three/drei && npm install -D @types/three
02
Add the component
One self-contained file: create components/ShaderFluidPortal.tsx and paste it in.
03
Drop it in a page
Updated live with the settings above.
app/page.tsx
1import ShaderFluidPortal from "@/components/ShaderFluidPortal";23export default function Section() {4 return (5 // The component fills this box: give it a position and a height6 <div style={{ position: "relative", width: "100%", height: "100vh" }}>7 <ShaderFluidPortal8 portalDistortion={1}9 parallaxFov={1}10 mouseStretch={1}11 eventHorizonGlow="#ff7a3d"12 nebulaColor="#6d28d9"13 />14 </div>15 );16}