Measured entry

ruixen-service-ledger

ctaunclassifiedmotion on file

A client-side service catalogue that pairs a sticky, horizontally scrollable tab strip with long-form service entries, optional media, and inline calls to action. It ships as a shadcn registry TSX component and depends on React, Next.js Link, lucide-react, Tailwind theme classes, and the usual cn utility.

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

What the harness recorded

BARE BUILD

✗ Build failed in 30.48s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/service-ledger.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid fit for content-heavy service pages: the scroll spy, reduced-motion handling, responsive tab scroller, and optional media are thoughtfully covered. It needs a shadcn-style setup, so it is not a drop-in choice for a bare React project.

Use it if

  • You need to present several detailed services without hiding their deliverables behind accordions.
  • Your page benefits from scroll-aware navigation that keeps the current service visible and directly reachable.
  • You want optional images or videos and per-service calls to action within one consistent section.

Skip it if

  • Your offering is short enough for a simple card row or compact comparison table.
  • Your page already has sticky navigation that could compete with this component's sticky tab strip.
  • Your app is not based on Next.js and you do not want to replace the framework-specific Link component.

Install

Installation record for ruixen-service-ledger
Declared dependencieslucide-react
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 lucide-react, a cn class-merging utility, the expected Tailwind theme tokens and utility classes, and the configured path alias. Use it as a client component, and either provide Next.js Link or replace it with your router's link component.

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