Backgrounds
Magnetic particle ring
Magnetic particle ring: A drifting field of tiny specks that the pointer catches and reorganises into a rippling ring, releasing them again as it moves on.
Using Magnetic particle ring
Magnetic particle ring 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 | 260 | From 80 to 600; step 20 |
ringRadius | number | 90 | From 40 to 180; step 5 |
magnetRadius | number | 160 | From 60 to 320; step 10 |
wave | number | 1 | From 0 to 3; step 0.1 |
autoDrift | boolean | true | No additional limit in the metadata. |
accent | color | #38BDF8 | No additional limit in the metadata. |
Which frameworks are available for Magnetic particle ring?
Magnetic particle ring 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 Magnetic particle ring depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Magnetic particle ring?
The React source for Magnetic particle ring includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Magnetic particle ring handle reduced motion?
Magnetic particle ring 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.