Measured entry

ruixen-stack-pagination

navbarunclassifiedmotion on file

A client-side React paginator presented as a layered card stack. It ships as a shadcn registry component but is self-contained, using inline styles and embedded theme CSS. It depends on Motion for spring transitions and can use the browser Web Audio API for an optional navigation tick; it needs no provider.

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

Verdict

A polished interaction concept that builds and mounts cleanly without framework glue, but it is better suited to expressive demos or small page sets than core navigation. Fix the verified contrast issue and add stronger pagination semantics before production use.

Use it if

  • You want a compact, animated page control with a distinctive stacked-card presentation.
  • Your paging state can be driven from a page count and an onChange callback.
  • Click and arrow-key navigation cover the interaction model your product needs.

Skip it if

  • You need semantic page links, URL navigation, or direct selection of an arbitrary page.
  • Your accessibility gate cannot accept the current low-contrast labels and controls.
  • You need a minimal paginator without an animation dependency or optional browser audio behavior.
  • You require explicit current-page and control labels for screen-reader users out of the box.

Install

Installation record for ruixen-stack-pagination
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 component into the source tree, install Motion, and ensure the build supports client components, TypeScript JSX, and browser APIs. Keep it client-only if the app renders on the server. Disable sound if audio feedback is not appropriate.

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