Join our Discord community
Navbar

Breadcrumb Navigation Bar

Hierarchical breadcrumb navigation bar with project selector and contextual navigation. Features collapsible breadcrumbs, dropdown project selection, and notification system for multi-project applications.

Powered by

Loading component...

Installation

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

Features

  • Breadcrumb navigation with hierarchical path display and responsive collapsing
  • Project selector with dropdown menu and customizable project options
  • Mobile-responsive breadcrumbs with ellipsis dropdown for collapsed navigation items
  • Notification system with badge counter and dropdown message list
  • User profile menu with avatar display and account management options
  • Contextual navigation showing current location within application hierarchy
  • TypeScript support with comprehensive interface definitions for breadcrumbs and projects
  • shadcn/ui integration using Breadcrumb, Select, and DropdownMenu components

Use Cases

This free open source React component works well for:

  • Multi-project platforms - Development environments with project-based navigation
  • Enterprise applications - Complex hierarchical structures built with Next.js and TypeScript
  • SaaS dashboards - Account and project management interfaces using Tailwind CSS
  • File management systems - Directory-based navigation with contextual breadcrumbs

API Reference

PropTypeDefaultDescription
logoReact.ReactNode<Logo />Logo component to display in the navbar
logoHrefstring"#"URL for logo click navigation
breadcrumbItemsNavbar07BreadcrumbItem[]defaultBreadcrumbItemsArray of breadcrumb navigation items
projectsNavbar07Project[]defaultProjectsArray of available project options
defaultProjectstring"1"Default selected project value
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
onBreadcrumbClick(href: string) => voidundefinedCallback for breadcrumb item clicks
onProjectChange(project: string) => voidundefinedCallback for project selection changes
onNotificationItemClick(item: string) => voidundefinedCallback for notification item clicks
onUserItemClick(item: string) => voidundefinedCallback for user menu item clicks
  • Hierarchical Navigation - Clear path display from root to current location
  • Responsive Collapsing - Mobile-friendly ellipsis dropdown for space constraints
  • Interactive Elements - Clickable breadcrumb items with callback support
  • Project Integration - Seamless project selector within breadcrumb context

Project Management

  • Project Selector - Dropdown with ChevronsUpDown icon and custom styling
  • Dynamic Options - Configurable project list with value/label pairs
  • Selection Callbacks - Project change notifications for application state management
  • Visual Integration - Consistent styling with breadcrumb navigation flow

Implementation Notes

  • Uses shadcn/ui Breadcrumb component for semantic navigation structure
  • Supports keyboard navigation and accessibility standards through Radix UI components
  • Mobile breadcrumbs automatically collapse to ellipsis dropdown on smaller screens
  • Project selector integrates Radix Select with custom trigger styling
  • All navigation items are non-functional for demonstration purposes with callback support
  • Compatible with shadcn/ui design system and Tailwind CSS styling framework
  • Notification and user menus provide complete dashboard functionality
  • Breadcrumb separators automatically adjust for responsive display