Measured entry
ruixen-navbar-minimal
A compact client-side header with a logo link, desktop navigation links, and a configurable sign-in action. It ships as a shadcn registry component and relies on Next.js Link, Tailwind utility classes, a local cn helper, a local shadcn Button, and the declared radix-ui package.



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 56.71s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/navbar-minimal.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound choice for a deliberately sparse Next.js header, with clean mounting and responsive behavior in the prepared harness. It needs a shadcn-style setup: the bare project cannot resolve the expected local cn utility, and the component also assumes a local Button primitive.
Use it if
- You need a restrained site header with a logo, a short desktop link list, and one account or call-to-action link.
- Your app already uses Next.js, Tailwind, shadcn conventions, and path aliases for local UI utilities.
- You want navigation links hidden on small screens while keeping the logo and primary action visible.
Skip it if
- You need a mobile menu, because the navigation links simply disappear on smaller screens.
- You need dropdowns, search, account state, or nested navigation without extending the component.
- Your project is framework-neutral or does not use Next.js routing and shadcn-style local primitives.
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 a compatible cn class-merging utility and Button primitive, configure the at-sign path alias, provide the expected Tailwind theme tokens and utilities, install radix-ui, 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.
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