Backgrounds
Particle drift
Particle drift: A canvas field of slow drifting particles that wrap at the edges, and link with faint lines and ease away where the pointer passes.
Using Particle drift
Particle drift uses the wide preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
count | number | 200 | From 40 to 300; step 10 |
color | color | #38BDF8 | No additional limit in the metadata. |
connectDistance | number | 130 | From 40 to 200; step 5 |
Which frameworks are available for Particle drift?
Particle drift is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Particle drift depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Particle drift?
The React source for Particle drift includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Particle drift handle reduced motion?
Particle drift reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.