Command Palette

Search for a command to run...

Docs
Navbar Tabs

Navbar Tabs

A two-tier navbar with primary navigation and secondary tabbed navigation.

Installation

Usage

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

Props

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

Features

  • Two-tier navigation structure
  • Primary navigation with logo and actions
  • Secondary tabbed navigation
  • Active tab highlighting with underline
  • Light and dark mode support