Measured entry
motion-primitives-scroll-progress
scroll-effectdark-futuristicmotion on file
A client-side React scroll indicator distributed as shadcn registry source. It maps document or supplied-container scroll progress to horizontal scale through a Motion spring, and expects a local cn utility backed by clsx and tailwind-merge.



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 | 73.1 KB (138.6 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
spawnSync npx ETIMEDOUT
Verdict
A focused, dependable primitive that built and mounted cleanly in the integrated harness. The bare check timed out, and the component needs a shadcn-style setup with the expected utility alias and styling pipeline.
Use it if
- You need a slim reading-progress bar for a page or a specific scroll container.
- Your React interface already uses Motion and Tailwind utility classes.
- You want spring behavior to remain configurable without building the scroll tracking yourself.
Skip it if
- You need a native progress element with built-in semantic progress announcements.
- You want to avoid adding Motion for a small visual indicator.
- Your layout cannot supply the background, positioning, and color classes this source leaves to the caller.
Install
| Declared dependencies | motion, clsx, tailwind-merge |
|---|---|
| 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, add Motion, clsx, tailwind-merge, Tailwind utilities, and a cn helper. Either configure the at-sign source alias for the local utility module or change that import to your project path, and keep the component on the client side.
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/ibelick/motion-primitivesAlternatives
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