Loading…
← All components

Cursors · Liquid

Singularity Fluid Orb

The cursor becomes a raymarched metaball of liquid energy: droplets stretch and merge back, a comet of particles trails it, buttons are drawn in, clicks send a shockwave.

Hover this linkdata-cursor-hover
<SingularityFluidOrb />Live

Customize

Iridescence#a78bfa

Installation

Use it in your project

Or skip the copy-paste

One command: writes the file and installs the dependencies.

$ npx deepui-cli add singularity-fluid-orb

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 && npm install -D @types/three
02

Add the component

One self-contained file: create components/SingularityFluidOrb.tsx and paste it in.

03

Drop it in a page

Updated live with the settings above.

app/page.tsx
1import SingularityFluidOrb from "@/components/SingularityFluidOrb";
2
3export default function Section() {
4 return (
5 // The component fills this box: give it a position and a height
6 <div style={{ position: "relative", width: "100%", height: "100vh" }}>
7 <SingularityFluidOrb
8 orbRadius={18}
9 trailLength={0.9}
10 magneticAttractionRadius={90}
11 clickShockwaveForce={1}
12 iridescenceColor="#a78bfa"
13 />
14 </div>
15 );
16}
Next componentPrismatic Island Nav→