Measured entry
ruixen-navbar-user-menu
A compact client-side navbar that combines a logo, desktop links, notification control, avatar, and account dropdown. It ships as a shadcn registry component for Next.js and depends on lucide-react, Radix-backed shadcn button, avatar, and dropdown primitives, plus the usual cn utility and theme classes.



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 | 1 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 75.9 KB (141.3 KB build, 65.4 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 43.19s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/navbar-user-menu.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A practical starting shell for a shadcn-based account navbar, with clean responsive mounting and sensible props. It needs a shadcn-style setup, and the unlabeled notification button plus contrast issue should be fixed before production use.
Use it if
- You need a conventional authenticated app header with profile and logout actions already arranged.
- Your Next.js project already uses shadcn primitives, path aliases, and Tailwind theme tokens.
- You want navigation links to collapse away on narrow screens while account controls remain visible.
Skip it if
- You need an accessible drop-in without first labeling the icon-only notification button and correcting the flagged contrast.
- Your mobile experience needs access to the primary links, since this component hides them without providing a replacement menu.
- You are not using Next.js or do not want to adapt its Link import and shadcn-specific project wiring.
- You need a lightweight header and cannot justify bringing in the dropdown and icon dependency stack.
Install
| Declared dependencies | lucide-react, radix-ui |
|---|---|
| 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 lucide-react and Radix dropdown support, then supply equivalents for Button, Avatar, and DropdownMenu. Add or replace the cn helper, reproduce the Tailwind theme classes, and either provide Next.js Link or swap it for 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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
Other published entries for the navbar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hyperui-headers-4editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 19.1KB
- Bare
- pass
- Prov
- NO
- kibo-dialog-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 33.4KB
- Bare
- pass
- Prov
- NO
- ruixen-floating-navbarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 59.9KB
- Bare
- pass
- Prov
- NO
- ruixen-hover-gradient-navbargradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 60.9KB
- Bare
- pass
- Prov
- NO
- ruixen-expandable-menu-navbarunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 61.8KB
- Bare
- pass
- Prov
- NO
- hextaui-cardminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 26.7KB
- Bare
- fail
- Prov
- NO