Catalogue
Particle Morph, preview

Live. Click, drag or type.

A Three.js particle field: click to morph between a sphere, a word sampled from a canvas and a torus knot; move the pointer through it and the particles scatter and spring back. Gradient colours across the field.

Install

  1. One commandnpx shadcn@latest add "https://qodesign.dev/r/particle-morph.json?key=YOUR_KEY"Your key comes with the order. Works in any shadcn project, Next.js App Router included.
  2. Or copy it inThe zip has react/src/components, ready for Next.js ("use client" included).
  3. Or ask your AIPaste PROMPT.md into Cursor, Lovable or v0.

Good to know: Give its parent a height; the canvas fills it. With TypeScript, also run npm i -D @types/three.

What it does

  • 9,000 GPU particles (Three.js)
  • Sphere → word → torus knot morphs
  • Pointer scatter + spring back
Stack
React · Three.js · HTML version
Released
Licence
Personal and client projects. Licence

Using Cursor, v0 or Lovable?

Does this Three.js particle morph work in a Next.js app?

Yes. The React file starts with "use client" and draws with the three package (with TypeScript, also add @types/three). Give its parent a height and the canvas fills it. A click morphs the sphere into your word and then a torus knot: set the word with the word prop, the particle count with count and the gradient with colorA and colorB. It pauses when it is off screen or the tab is hidden, and with reduced motion it draws each shape still.

How do I add Particle Morph to a Next.js app I build with Cursor?

After checkout your account shows a one-line shadcn install with your licence key; run it in the project, or copy the React file from the zip into your components folder. The file already starts with "use client", so it works in the App Router. Then open the agent chat and paste the first prompt from the PROMPT.md that comes with it: Cursor reads the component and fits it to your data, colors and file layout instead of rewriting it.

Does Particle Morph work in v0?

Yes. Install it in your v0 project with the same shadcn command, or paste the component source into the chat. Then paste the first prompt from PROMPT.md so v0 wires it into your page and keeps the animation as it is.

Can I use Particle Morph in a Lovable project?

Yes. Lovable apps are React, TypeScript and Tailwind, the same stack as the React version. Sync the project to GitHub and add the file there, or paste the source into the Lovable chat and ask it to add the component, then paste the first prompt from PROMPT.md.

Can I try it before I add it?

Yes. The preview at the top of this page is the real component running, not a video, so you can click through it first. If you want to start with something free, the free kit at qodesign.dev/free has open-source pieces and copy-paste prompts for Cursor, v0 and Lovable.

Step by step: Cursor, v0, Lovable. Start free: the free kit

Reviews

No reviews yet for this piece.

Only people who got it can review it: the order email has a rating link, one review per order.

Keep browsing

Liquid Metal Blob, animated preview

A drop of liquid chrome drawn live by a WebGL shader.

Receipt Morph Checkout, animated preview

Your card becomes the receipt: it splits, unrolls into paper and gets stamped PAID.

Command-K Dashboard, animated preview

A whole SaaS app you drive from ⌘K: rows stretch into pages, coins fly into the total.

Not ready to buy? Try the free kit