Measured entry

ruixen-navbar-simple

navbarunclassified

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.

Specimen
Harness screenshot of ruixen-navbar-simple at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-navbar-simple at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-navbar-simple 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 ruixen-navbar-simple
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal44.3 KB (109.7 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for ruixen-navbar-simple
Declared dependenciesradix-ui
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 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.

Alternatives

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.