Skip to content
Menu

Cursor

Swarm trail cursor

Swarm trail cursor: A cloud of soft blobs orbits the pointer inside a panel, leaving tapering trails and merging into one shape where they overlap.

Using Swarm trail cursor

Swarm trail cursor 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
countnumber10From 3 to 40; step 1
accentcolor#9BE15DNo additional limit in the metadata.
blobSizenumber10From 4 to 24; step 1
speednumber2.5From 0.5 to 6; step 0.1
trailnumber0.75From 0 to 1.5; step 0.05
scatterOnPressbooleantrueNo additional limit in the metadata.
Which frameworks are available for Swarm trail cursor?

Swarm trail cursor 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 Swarm trail cursor depend on?

The React metadata lists these npm dependencies beyond React: clsx.

What accessibility details are visible in Swarm trail cursor?

The React source for Swarm trail cursor includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

How does Swarm trail cursor handle reduced motion?

Swarm trail cursor 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