Measured entry

tripled-native-user-card-shadcnui

buttonminimal-flatmotion on file

A compact, fully clickable user card with an avatar, name, handle, arrow action, and spring-based entrance and press motion. It ships as a client-side shadcn registry component and relies on Next.js Link, shadcn Avatar and cn utilities, Tailwind theme classes, Framer Motion, and a Lucide icon.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-user-card-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-user-card-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-user-card-shadcnui 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 tripled-native-user-card-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal92.8 KB (158.3 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 867ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-8a1fa9b2a914/src/cut/components/uitripled/native-user-card-shadcnui.tsx".

Verdict

A focused, accessible profile action that builds and mounts cleanly in its intended environment. It needs a shadcn-style setup, and the registry omits a direct Lucide dependency used by the source, so adoption outside that stack requires deliberate wiring.

Use it if

  • You need a compact profile link or account picker with a consistent avatar fallback.
  • Your app already uses Next.js, shadcn primitives, Tailwind theme tokens, and Framer Motion.
  • You want the whole card to act as either a link or a button while respecting reduced-motion preferences.

Skip it if

  • You need a framework-neutral card because the source imports Next.js Link directly.
  • You want to avoid shipping an animation library for a small profile action.
  • Your user row needs secondary actions, status text, or metadata beyond a name and handle.
  • Your design system does not provide shadcn-style Avatar, theme tokens, and a cn helper.

Install

Installation record for tripled-native-user-card-shadcnui
Declared dependenciesframer-motion, react, radix-ui, 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 Framer Motion and Lucide React, provide an Avatar implementation and a class-merging helper, define the referenced Tailwind theme tokens and utilities, and either use 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 button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.