Measured entry

originui-comp-95

avatarminimal-flat

A compact avatar-and-chevron button intended as a profile menu trigger. It ships as a shadcn registry component composed from local Avatar and Button primitives, with Tailwind utility classes and a Lucide icon. Its supporting primitives rely on Radix UI, clsx, and tailwind-merge.

Specimen
Harness screenshot of originui-comp-95 at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of originui-comp-95 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-95 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 originui-comp-95
BuildOK
MountOK
Console errors1
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal33.7 KB (99.2 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

CONSOLE

Failed to load resource: the server responded with a status of 404 (Not Found)

BARE BUILD

✗ Build failed in 948ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-f654f299ae37/src/cut/components/ui/comp-95.tsx".

Verdict

A clean, dependable trigger primitive, but not a complete avatar menu. Use it when the surrounding dropdown already exists; otherwise the hardcoded image, fallback initials, and absent menu behavior leave meaningful integration work.

Use it if

  • You need a compact account-menu trigger for a header or navigation bar.
  • Your app already uses shadcn-style Avatar and Button primitives.
  • You want fallback initials when the profile image cannot load.

Skip it if

  • You need the dropdown panel, menu state, or account actions included.
  • Your project does not use Tailwind or shadcn-style local primitives.
  • You need profile data to be configurable without editing the component.

Install

Installation record for originui-comp-95
Declared dependenciesradix-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 compatible Avatar and ghost Button primitives, Tailwind styling, Lucide React, Radix UI, clsx, and tailwind-merge. Replace the path aliases and either provide the referenced avatar asset or pass real profile data.

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.

License
MIT
Record published
2026-08-16

Alternatives

Other published entries for the avatar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.