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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of motion-primitives-scroll-progress at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of motion-primitives-scroll-progress at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of motion-primitives-scroll-progress 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 motion-primitives-scroll-progress
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal73.1 KB (138.6 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for motion-primitives-scroll-progress
Declared dependenciesmotion, clsx, tailwind-merge
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, 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.

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.