Join our Discord community
Navbar

Status Dashboard Navigation Bar

System monitoring navigation bar with status indicators, performance metrics, and power control. Features real-time status badges, uptime tracking, latency monitoring, and animated power toggle for infrastructure dashboards.

Powered by

Loading component...

Installation

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

Features

  • Status indicators with online status, uptime percentage, and latency metrics
  • Visual status badges with colored indicators (green dot for online status)
  • Performance metrics showing uptime (99.9%) and latency (45ms) with icons
  • Animated power toggle with smooth transition between power on/off states
  • Border bottom navigation with active state indicators using primary color
  • Mobile hamburger menu with collapsible navigation for responsive design
  • Real-time monitoring interface for system and infrastructure status
  • TypeScript support with comprehensive interfaces for status and navigation

Use Cases

This free open source React component works well for:

  • System monitoring - Infrastructure dashboards with real-time status tracking using Next.js
  • Server management - Hosting panels with uptime and performance metrics using TypeScript
  • DevOps dashboards - Operations interfaces with system health indicators using Tailwind CSS
  • Cloud platforms - Service management with power controls and status monitoring

API Reference

PropTypeDefaultDescription
navigationLinksNavbar18NavItem[]defaultNavigationLinksArray of navigation menu items with active states
statusIndicatorsNavbar18StatusIndicator[]defaultStatusIndicatorsArray of status badges with metrics
powerStatebooleanundefinedControlled power toggle state
onNavItemClick(href: string) => voidundefinedCallback for navigation item clicks
onPowerToggle(enabled: boolean) => voidundefinedCallback for power toggle changes
interface Navbar18NavItem {
  href?: string;     // Link URL for navigation
  label: string;     // Display text for navigation item
  active?: boolean;  // Active state with border indicator
}

Status Interface

interface Navbar18StatusIndicator {
  type: 'online' | 'uptime' | 'latency';  // Status indicator type
  value: string;                          // Display value or text
  color?: 'emerald' | 'default';         // Color theme for badge
}
  • Border Bottom Active - Active navigation items show primary color bottom border
  • Mobile Responsive - Hamburger menu for mobile with collapsible navigation
  • Hover States - Interactive hover effects with color transitions
  • Active Indicators - Clear visual feedback for current page selection

Status Monitoring

  • Online Status - Green dot indicator with "Online" text for system status
  • Uptime Metrics - Lightning bolt icon with percentage display (99.9%)
  • Latency Display - Clock icon with millisecond response time (45ms)
  • Badge Styling - Outline variant badges with consistent spacing and icons

Power Control

  • Animated Toggle - Smooth transition between power on/off states
  • Visual Icons - Power and PowerOff icons that animate during state changes
  • Custom Styling - Advanced switch styling with grid layout and smooth transitions
  • State Management - Support for controlled and uncontrolled power state

Implementation Notes

  • Uses shadcn/ui NavigationMenu with custom border-bottom active state styling
  • Status badges use Badge component with outline variant and custom icon positioning
  • Power toggle implements advanced Switch styling with cubic-bezier animations
  • Mobile navigation uses Popover component with responsive design patterns
  • Active navigation state uses data-[active] attribute for border-bottom primary color
  • Compatible with shadcn/ui design system and Tailwind CSS styling framework
  • Power icons animate with smooth transitions using transform and visibility states
  • Status indicators support customizable colors and icon types for different metrics