Measured entry

ruixen-social-preview-dock

sheetunclassifiedmotion on file

A client-side React and TypeScript dock that reveals animated GitHub, LinkedIn, and X profile cards, with an optional email-copy action. It ships as a shadcn registry component and uses Motion, Tailwind theme classes, a shared cn helper, browser WebGL, and optional public GitHub data requests.

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

What the harness recorded

BARE BUILD

✗ Build failed in 2m 5s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/social-preview-dock.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished, flexible social dock with sensible keyboard behavior, responsive clipping, reduced-motion handling, and clean fallbacks. It builds and mounts in the prepared harness, but needs a shadcn-style setup because the standalone source expects the shared cn utility and theme contract.

Use it if

  • You want compact social links that expose useful profile context on hover or keyboard focus.
  • Your product already uses shadcn conventions and Tailwind theme tokens.
  • You can accept client-side animation, WebGL banners, and optional calls to public GitHub services.

Skip it if

  • You need preview content to be equally discoverable in a touch-first interface.
  • Your privacy policy or content security policy rules out browser requests to external GitHub services.
  • You need a lightweight static link row without Motion or custom WebGL rendering.

Install

Installation record for ruixen-social-preview-dock
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, Tailwind CSS, the expected theme tokens, an @ path alias, and a lib/utils cn helper backed by clsx and tailwind-merge. Keep it client-rendered. If live GitHub data is enabled, allow browser access to the GitHub profile and contributions endpoints.

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