Command Palette

Search for a command to run...

Docs
Navbar Split

Navbar Split

A navbar with navigation links split between left and right sides of the logo.

Installation

Usage

import NavbarSplit from "@/components/ruixen/navbar-split";
 
export default function MyNavbar() {
  return <NavbarSplit />;
}

Props

PropTypeDefaultDescription
logoReact.ReactNodeDefault logoCustom logo element (centered)
leftLinks{ label: string; href: string; active?: boolean }[]Default linksLinks on the left side
rightLinks{ label: string; href: string; active?: boolean }[]Default linksLinks on the right side
classNamestring-Additional CSS classes

Features

  • Centered logo design
  • Split navigation layout
  • Links on both sides
  • Balanced visual layout
  • Light and dark mode support