Measured entry

ruixen-morphing-page-dots

badgeunclassifiedmotion on file

A client-side React pagination control whose active dot morphs into a pill, with arrow navigation, click selection, drag scrubbing, and optional audio ticks. It ships as source through a shadcn registry, keeps its own page state, embeds its visual CSS, and depends on Motion plus browser Web Audio when sound is enabled.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-morphing-page-dots at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-morphing-page-dots at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-morphing-page-dots 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 ruixen-morphing-page-dots
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal59.3 KB (124.7 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

Polished interaction and solid standalone mounting make this a useful carousel control, but it is not production-ready as shipped. Add accessible names, keyboard semantics, and focus behavior first, and consider disabling its default sound.

Use it if

  • You need a compact page or carousel position control with animated state changes.
  • You want drag scrubbing as well as arrow and direct dot selection.
  • You can wire its page-change callback to the content being paged and are willing to finish the accessibility work.

Skip it if

  • You need accessible pagination without modifying the source, since the arrow buttons lack names and the dot controls are not keyboard-operable.
  • You need a controlled component whose active page always follows parent state; the supplied API only accepts an initial page.
  • You cannot accept an animation dependency or browser audio behavior in this control.
  • You need visible page labels or links for navigation, search indexing, or direct destinations.

Install

Installation record for ruixen-morphing-page-dots
Declared dependenciesmotion
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn React project, copy the client component into your source tree and install Motion so the motion/react import resolves. No provider or utility CSS framework is required because the styling is embedded. Add accessible labels to the arrows, replace clickable dots with keyboard-operable controls, and disable sound if Web Audio is inappropriate.

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 badge pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.