Measured entry
ruixen-navbar-simple
A compact React header distributed as a shadcn registry component. It renders a linked logo, desktop-only navigation links, and replaceable action controls. The source expects Next.js Link, Tailwind utility classes, the shadcn Button component, the cn helper, and the registry's Radix dependency.



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 | 44.3 KB (109.7 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 46.12s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/navbar-simple.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound basic navbar for an existing Next.js shadcn codebase, with clean mounting and no detected accessibility or overflow issues. It needs a shadcn-style setup and is too minimal for responsive navigation unless you add a mobile menu.
Use it if
- You need a restrained application or marketing header with a logo, a short link set, and sign-in actions.
- Your project already uses Next.js and shadcn conventions, so its imports and styling fit without adaptation.
- You want to supply custom logo, link, or action content through a small prop surface.
Skip it if
- You need mobile navigation, because the links simply disappear on smaller screens and no menu replaces them.
- Your header needs dropdowns, nested navigation, search, or account state built in.
- You use a non-Next router or avoid Tailwind and shadcn primitives, since several imports and styles must be replaced.
Install
| Declared dependencies | 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 or replace the Button primitive and cn class-merging helper, configure the source aliases and Tailwind theme classes, install the declared Radix dependency, and swap Next.js Link for your router's link component when needed.
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