Skip to content
MoonUIMoonUI
ComponentsTemplatesPricing
Sign inGet started

Getting started

  • Introduction
  • Installation
  • CDN
  • Authentication
  • shadcn CLI
  • MCP Server
  • Usage

Components

Foundation25 components
  • Alert
  • Aspect Ratio
  • Avatar
  • Badge
  • Button
  • Button Group
  • Checkbox
  • File Upload
  • Input
  • Kbd
  • Label
  • Radio Group
  • Rating
  • Select
  • Slider
  • Switch
  • Textarea
  • Toggle
  • Toggle Group
  • Separator
  • Tags Input
  • Color Picker
  • Date Picker
  • Simple Editor
  • Input OTP
Layout10 components
  • Accordion
  • Breadcrumb
  • Card
  • Carousel
  • Collapsible
  • ResizablePro
  • Scroll Area
  • StepperPro
  • Table
  • Tabs
Navigation & Overlays11 components
  • Alert DialogPro
  • Command
  • Context MenuPro
  • Dialog
  • Dropdown Menu
  • Hover CardPro
  • MenubarPro
  • Pagination
  • Popover
  • SheetPro
  • Tooltip
Feedback4 components
  • Progress
  • Skeleton
  • Spinner
  • Toast
Data & Analytics4 components
  • Data TablePro
  • Advanced ChartPro
  • DashboardPro
  • WidgetsPro
Navigation4 components
  • Command AI+Pro
  • SidebarPro
  • NavbarPro
  • Navigation MenuPro
AI Chat4 components
  • MessagePro
  • Message ScrollerPro
  • AttachmentPro
  • Conversation MarkerPro
Content Management6 components
  • Advanced FormsPro
  • Form WizardPro
  • Quiz FormPro
  • Credit Card InputPro
  • Phone Number InputPro
  • Rich Text EditorPro
Project Management3 components
  • KanbanPro
  • TimelinePro
  • CalendarPro
Performance & Utility8 components
  • Virtual ListPro
  • Memory Efficient DataPro
  • Lazy ComponentPro
  • Optimized ImagePro
  • Performance MonitorPro
  • Performance DebuggerPro
  • Error BoundaryPro
  • Health CheckPro
Interactive & Animation15 components
  • Animated NumberPro
  • Floating DockPro
  • Text RevealPro
  • Image ComparePro
  • Splash CursorPro
  • GitHub StarsPro
  • Animated ButtonPro
  • Magnetic ButtonPro
  • Magnetic ElementsPro
  • Mouse TrailPro
  • Hover Card 3DPro
  • Spotlight CardPro
  • Floating Action ButtonPro
  • LightboxPro
  • Media GalleryPro
Gesture & Touch7 components
  • Swipeable CardPro
  • Draggable ListPro
  • Pinch ZoomPro
  • Swipe ActionsPro
  • Gesture DrawerPro
  • Click AnimationsPro
  • Touch GesturesPro
Text Animations12 components
  • Text HighlighterPro
  • Typewriter TextPro
  • Scrambled TextPro
  • Word RotatePro
  • Morphing TextPro
  • Flip TextPro
  • Number TickerPro
  • Glitch TextPro
  • Shiny TextPro
  • Wavy TextPro
  • Gradient TextPro
  • Text 3DPro
Animations12 components
  • Animated ListPro
  • Bounce EffectPro
  • Blur FadePro
  • Elastic AnimationPro
  • MarqueePro
  • Parallax ScrollPro
  • Reveal CardsPro
  • Scroll RevealPro
  • Fade TransitionsPro
  • Focus TransitionsPro
  • Path AnimationsPro
  • SVG AnimationsPro
Layouts1 components
  • Bento GridPro
Effects9 components
  • ConfettiPro
  • Cursor TrailPro
  • Glow EffectPro
  • Pixel ImagePro
  • Neon EffectPro
  • ShimmerPro
  • RipplePro
  • SparklesPro
  • SpotlightPro
Backgrounds17 components
  • Grid PatternPro
  • MeteorsPro
  • Aurora BackgroundPro
  • ParticlesPro
  • StarfieldPro
  • Dot PatternPro
  • Grid DistortionPro
  • WavesPro
  • Matrix RainPro
  • Liquid BackgroundPro
  • Mesh GradientPro
  • Glitch BackgroundPro
  • Gradient FlowPro
  • Floating ElementsPro
  • Bubble BackgroundPro
  • Geometric PatternsPro
  • Code SnippetsPro
Special UI1 components
  • Glow CardPro
Showcase8 components
  • iPhone MockPro
  • Android MockPro
  • Safari MockPro
  • GlobePro
  • Dotted MapPro
  • Icon CloudPro
  • Tweet CardPro
  • File TreePro

Advanced

  • Theming
  • Customization
  • CLI
  • Help & Support
  1. Docs
  2. Components
  3. Navbar

Navbar

Pro

A professional navigation bar component with mega menus, search functionality, user profile, notifications, and responsive mobile design. Perfect for modern applications and dashboards.

Pro features

What the Pro version adds to this component.

  • Command Palette Search

    Built-in command palette with keyboard shortcuts for quick navigation

  • Mega Menus

    Rich dropdown menus with icons, descriptions, and custom layouts

  • Notifications System

    Integrated notifications dropdown with unread indicators and actions

  • User Management

    Built-in user menu with avatar, profile options, and authentication

  • Responsive Design

    Adaptive layout with mobile menu, touch gestures, and optimal UX

  • Visual Effects

    Glassmorphism, animated backgrounds, and smooth transitions

Installation

Install via CLI

npx @moontra/moonui-cli add navbar

Usage

Pro required
Your App
  • Home
  • Dashboard
  • Documentation
⌘K

Main Content

Your application content goes here

Examples

Basic Navbar

Pro

Simple navigation bar with basic items

Pro required

With Mega Menu

Pro

Navigation with dropdown mega menus

Pro required

With Command AI Integration

Pro

Navbar with Command AI for quick navigation and actions

Pro required

With User Menu & Notifications

Pro

Full-featured navbar with user profile and notifications

Pro required

Complex Navigation

Pro

Advanced navbar with multiple sections and features

Pro required

E-commerce Navbar

Pro

Professional e-commerce navigation with cart and categories

Pro required

Centered Navigation

Pro

Navigation items centered with new navItemsPosition prop

Pro required

Minimal Mode with Scroll

Pro

Navbar shrinks to minimal mode on scroll with new scrollBehavior prop

Pro required

Button Style Theme Toggle

Pro

Direct theme toggle button instead of dropdown menu

Pro required

SaaS Platform Navbar

Pro

Modern SaaS navigation with product features

Pro required

Minimal Floating Navbar

Pro

Clean minimal navbar with floating design

Pro required

Modern Floating Centered

Pro

A centered, modern navbar with a glassmorphism effect (React Bits style)

Pro required

Full Width Dashboard Navbar

Pro

Edge-to-edge navigation for dashboards and admin panels

Pro required

Corporate Navbar with Scroll Features

Pro

Professional navbar with hide on scroll and progress indicator

Pro required

Overlay Mode with Background

Pro

Floating navbar that overlays background content without pushing it down - perfect for hero sections

Pro required

Auto-Expand & Container Width

Pro

Control navbar overflow behavior and container width for different layouts

Pro required

Progress Bar Inside Border-Radius

Pro

Professional scroll progress bar that respects navbar's border-radius

Pro required

Different Sizes

Pro

Size controls not just navbar height, but automatically scales all content (text, icons, buttons, spacing) proportionally. Perfect for brand prominence and visual hierarchy.

Pro required

Floating Auto-Hide Navbar

Pro

Modern navbar that auto-hides on scroll down with smooth animations (same as main project header)

Pro required
Previous
Sidebar
Pro
Next
Navigation Menu
Pro
MoonUIMoonUI

168 React components. 45 free under MIT, 123 Pro.

Unsubscribe anytime.

Product

  • Components
  • Templates
  • Pricing

Resources

  • Documentation
  • GitHub
  • Support

Legal

  • Privacy
  • Terms
  • Refund Policy
Made by Moontra Software
  • X
  • LinkedIn
  • GitHub
  • YouTube