Command Palette

Search for a command to run...

Docs
Navbar Centered

Navbar Centered

A navbar with centered navigation links and logo on the left.

Installation

Usage

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

Props

PropTypeDefaultDescription
logoReact.ReactNodeDefault logoCustom logo element
links{ label: string; href: string; active?: boolean }[]Default linksNavigation links array
actionsReact.ReactNodeDefault buttonsCustom action buttons
classNamestring-Additional CSS classes

Features

  • Centered navigation links
  • Logo positioned on the left
  • Actions on the right
  • Clean typography
  • Responsive design