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
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
Navbar18
Prop | Type | Default | Description |
---|---|---|---|
navigationLinks | Navbar18NavItem[] | defaultNavigationLinks | Array of navigation menu items with active states |
statusIndicators | Navbar18StatusIndicator[] | defaultStatusIndicators | Array of status badges with metrics |
powerState | boolean | undefined | Controlled power toggle state |
onNavItemClick | (href: string) => void | undefined | Callback for navigation item clicks |
onPowerToggle | (enabled: boolean) => void | undefined | Callback for power toggle changes |
Navigation Interface
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
}
Navigation Features
- 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
Collaboration Navigation Bar
Document-focused navigation bar with back navigation, action buttons, and live collaboration features. Shows online users with status indicators, history access, comments, and user management for collaborative editing environments.
Animated Beam
Animated beam connection component for React and Next.js applications. Built with TypeScript support, Tailwind CSS styling, and shadcn/ui design featuring SVG path animations, bidirectional flow, and customizable gradients.