Measured entry

fancy-marquee-along-svg-path

scroll-effectspatialmotion on file

A React and TypeScript marquee that repeats arbitrary children along a supplied SVG path using CSS offset-path. It ships as a shadcn registry component, relies on Motion for frame, spring, scroll, and drag behavior, and imports a project-local cn utility alongside utility CSS classes.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of fancy-marquee-along-svg-path at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of fancy-marquee-along-svg-path at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of fancy-marquee-along-svg-path at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for fancy-marquee-along-svg-path
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal71.5 KB (136.9 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 26.93s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/fancy/blocks/marquee-along-svg-path.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A flexible specialty effect with clean harness behavior and a broad interaction surface. It needs a shadcn-style setup to mount as supplied, and the hooks inside its item loop make dynamically changing the rendered item count a meaningful React risk.

Use it if

  • You need labels, logos, or decorative content to circulate along a custom curve.
  • Your interface benefits from optional scroll-reactive direction, hover slowdown, or pointer dragging.
  • Your project already uses a shadcn-style alias, utility classes, and Motion.

Skip it if

  • You need a lightweight static path treatment without a continuous animation dependency.
  • You require built-in reduced-motion behavior rather than adding that policy around the component.
  • The children or repeat setting must change dynamically, because hooks are created inside the rendered item loop.
  • You cannot rely on CSS motion-path support in your target browsers.

Install

Installation record for fancy-marquee-along-svg-path
Declared dependenciesmotion
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, install Motion, replace or configure the project alias, provide a cn class-merging helper, and supply equivalents for the positioning and cursor utility classes. Mark the module as client-side where your framework requires a client boundary for React hooks and browser APIs.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the scroll-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.