Grid Row navbar
Bordered navbar: the header as the first row of the page's grid, every link in its own cell.
Features
- Logo, links, log in and the button each sit in their own cell between hairlines
- The header's outer lines carry on down the page as its frame
- Hovering a cell fills it from the bottom; an ink rule marks the section on screen
- Menus drop from the header's bottom line as one more row of cells, with a slot for the latest release
- Phones get the same grid as full-width rows
Best for: Developer tools, infrastructure products and studios that want a precise, engineered page.
Installation
npm install motion lucide-react clsx tailwind-mergeThen copy the files from the Code tab into the same paths in your project, in TypeScript or JavaScript.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| logo | ReactNode | - | Your logo. It inherits currentColor. |
| items | NavItem[] | - | Links: label, href and optional children for a dropdown. |
| login | { label: string; href: string } | - | Optional quiet log in cell. |
| cta | { label: string; href: string } | - | Optional filled button cell. |
| aside | ReactNode | - | Shown in a tinted cell beside a dropdown's links. |
| hasFrame | boolean | true | Hairlines down the whole page. |
| className | string | - | Extra classes for the header. |
FAQ
Is the Grid Row navbar free to use?
Yes. Grid Row is free to copy into your own projects. Open the Code tab and paste the files into your app.
Does Grid Row work with Next.js and React?
Yes. It's a React client component made for the Next.js App Router, styled with Tailwind CSS and animated with Framer Motion (the motion package).
Can I use Grid Row in JavaScript instead of TypeScript?
Yes. Every file comes in TypeScript and JavaScript. Switch the language in the Code tab.
What does Grid Row need installed?
motion, lucide-react, clsx, tailwind-merge, plus the shared helpers from the Installation page.
Is Grid Row accessible?
Every link and button is reachable by keyboard with a visible focus ring, and the animation stays still for visitors who ask for reduced motion.