Skip to content
Menu

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.

ControlTypeDefaultPreview limits
countnumber260From 80 to 600; step 20
ringRadiusnumber90From 40 to 180; step 5
magnetRadiusnumber160From 60 to 320; step 10
wavenumber1From 0 to 3; step 0.1
autoDriftbooleantrueNo additional limit in the metadata.
accentcolor#38BDF8No 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.

Connect your agent

Related open components