ONONC

Particle Field

Drifting particles that link to neighbors and the cursor.

canvasinteractive

Styled with ONONC's design tokens shadcn add installs them for you.

Customize

Density9
Link distance130px
Color

Props

PropTypeDefaultDescription
densitynumber9Approx. particles per 100k px². Higher = denser.
linkDistancenumber130Max distance (px) at which particles link.
colorstring"139,160,255"Particle + link color as "r,g,b".
childrenReactNodeContent layered above the canvas.
classNamestringExtra classes for the wrapper.