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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 71.5 KB (136.9 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no 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.
Author repository
github.com/danielpetho/fancyAlternatives
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.
- reui-scrollspyminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 21.5KB
- Bare
- pass
- Prov
- NO
- kibo-marqueeminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- motion-primitives-in-viewspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO
- tripled-interactive-timeline-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.7KB
- Bare
- pass
- Prov
- NO
- ruixen-container-text-scrollspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 61.5KB
- Bare
- pass
- Prov
- NO
- fancy-parallax-floating3d
- Renders
- YES
- A11y
- 0
- Gzip
- 27.5KB
- Bare
- fail
- Prov
- NO