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.



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 | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 77.6 KB (143.3 KB build, 65.7 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | motion, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no 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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
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.
- hextaui-popoverminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 52.9KB
- Bare
- pass
- Prov
- NO
- shadcn-sheetunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 26.3KB
- Bare
- fail
- Prov
- NO
- neobrutalism-nsheetbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- neobrutalism-sheetbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- 8bitcn-resizableskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.8KB
- Bare
- fail
- Prov
- NO
- 8bitcn-sheetskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 43.8KB
- Bare
- fail
- Prov
- NO