Join our Discord community
Navbar

Dashboard Navigation Bar

Comprehensive dashboard navigation bar with info menu, notification system, and user profile management. Features advanced dropdown menus, avatar integration, and notification badges for React applications.

Powered by

Loading component...

Installation

npx shadcn@latest add https://www.shadcn.io/registry/navbar-05.json
npx shadcn@latest add https://www.shadcn.io/registry/navbar-05.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/navbar-05.json
bunx shadcn@latest add https://www.shadcn.io/registry/navbar-05.json

Features

  • Info menu with help system featuring help center, documentation, and support links
  • Notification system with badge counter and dropdown list of recent notifications
  • User profile menu with avatar display, user details, and account management options
  • Advanced dropdown components using shadcn/ui DropdownMenu with proper accessibility
  • Container-based responsive design with automatic mobile/desktop switching based on actual width
  • TypeScript support with comprehensive interface definitions and callback functions
  • shadcn/ui integration using Avatar, Badge, and DropdownMenu components

Use Cases

This free open source React component works well for:

  • Dashboard applications - Admin panels and control interfaces built with Next.js and TypeScript
  • SaaS platforms - User management systems with notifications and profile features
  • Enterprise applications - Internal tools requiring comprehensive navigation using Tailwind CSS
  • Web applications - Multi-user platforms with notification systems and user profiles

API Reference

PropTypeDefaultDescription
logoReact.ReactNode<Logo />Logo component to display in the navbar
logoHrefstring"#"URL for logo click navigation
navigationLinksNavbar05NavItem[]defaultNavigationLinksArray of navigation menu items
userNamestring"John Doe"Display name for the user profile
userEmailstring"[email protected]"Email address for the user profile
userAvatarstringundefinedURL for user avatar image
notificationCountnumber3Number of unread notifications to display
onNavItemClick(href: string) => voidundefinedCallback for navigation item clicks
onInfoItemClick(item: string) => voidundefinedCallback for info menu item clicks
onNotificationItemClick(item: string) => voidundefinedCallback for notification item clicks
onUserItemClick(item: string) => voidundefinedCallback for user menu item clicks
  • InfoMenu - Help and support dropdown with documentation links
  • NotificationMenu - Notification dropdown with badge counter and message list
  • UserMenu - User profile dropdown with avatar, account settings, and logout
  • Mobile Integration - All menu components accessible in mobile navigation

Implementation Notes

  • Uses ResizeObserver for container-based responsive behavior independent of viewport
  • Supports keyboard navigation and accessibility standards through Radix UI components
  • Mobile menu automatically appears when container width is less than 768px
  • Avatar component supports both image URLs and fallback initials
  • Notification badge displays count with 9+ overflow indicator for large numbers
  • All menu items are non-functional for demonstration purposes with callback support
  • Compatible with shadcn/ui design system and Tailwind CSS styling framework
  • Dropdown menus feature proper alignment and responsive positioning