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.



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 | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 59.3 KB (124.7 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | motion |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
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.
- neu-badgeneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- clay-badgeclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-load-rippleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- kibo-listminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 42.4KB
- Bare
- pass
- Prov
- NO
- ruixen-blurred-stagger-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO
- tripled-auto-revealing-heading-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.3KB
- Bare
- pass
- Prov
- NO