Measured entry
fancy-parallax-floating
scroll-effect3dmotion on file
A client-side React wrapper that gives absolutely positioned child layers a cursor-driven depth effect. It ships as a shadcn registry component and uses Motion's animation frame hook, a companion mouse-position hook, a cn utility, and utility 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 | 27.5 KB (92.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 34.25s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/fancy/image/parallax-floating.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused choice for pointer-reactive layered artwork, with a clean verified build in its intended environment. It needs a shadcn-style setup and will not mount bare because its shared utility and companion hook are expected to exist.
Use it if
- You are building a layered hero, collage, or product scene whose elements should drift with pointer movement.
- Your layout already has a positioned container and you can assign depth values to separately placed child layers.
- Your React app already follows shadcn-style aliases and utility-class conventions.
Skip it if
- The interaction must work equally well on touch-only devices, since the effect follows a mouse position.
- Your content needs to stay in normal document flow rather than being arranged as absolute layers.
- You want a scroll-linked parallax effect; this component responds to pointer movement instead.
- You cannot justify a continuously running animation loop for a decorative interaction.
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, add the companion mouse-position hook, provide a compatible cn class-merging utility, configure the source aliases, and supply equivalents for the utility classes. The host must support client-side React components.
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
- ruixen-animated-linkunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- fail
- Prov
- NO