AI Model Selector Navigation Bar
AI-focused navigation bar with model selector dropdown, temporary chat functionality, and user management. Features comprehensive model selection with descriptions and quick access to chat features for AI applications.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/navbar-13.json
npx shadcn@latest add https://www.shadcn.io/registry/navbar-13.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/navbar-13.json
bunx shadcn@latest add https://www.shadcn.io/registry/navbar-13.json
Features
- AI model selector with detailed descriptions for each model (Orion-Alpha, Orion-Code, Nova-Chat, Galaxy-Max)
- Model descriptions showing each AI model's strengths and use cases in the dropdown
- Temporary chat button with dashed message icon for quick temporary conversations
- Clean layout with left-aligned model selector and right-aligned user actions
- User profile menu with avatar display and account management options
- TypeScript support with comprehensive interface definitions for AI models and callbacks
- shadcn/ui integration using Select component with grouped options and custom styling
Use Cases
This free open source React component works well for:
- AI chat applications - Conversational AI platforms with multiple model options using Next.js
- Code generation tools - Development platforms with specialized AI models using TypeScript
- Creative writing platforms - Content creation tools with AI assistance using Tailwind CSS
- Enterprise AI dashboards - Business applications with model selection and user management
API Reference
Navbar13
Prop | Type | Default | Description |
---|---|---|---|
models | Navbar13AIModel[] | defaultModels | Array of available AI models with descriptions |
defaultModel | string | "orion-alpha-45" | Default selected AI model |
userName | string | "John Doe" | Display name for the user profile |
userEmail | string | "[email protected]" | Email address for the user profile |
userAvatar | string | undefined | URL for user avatar image |
onModelChange | (model: string) => void | undefined | Callback for AI model selection changes |
onTempChatClick | () => void | undefined | Callback for temporary chat button clicks |
onUserItemClick | (item: string) => void | undefined | Callback for user menu item clicks |
AI Model Interface
interface Navbar13AIModel {
value: string; // Unique identifier for the model
name: string; // Display name of the model
description: string; // Description of model capabilities
}
Model Selection Features
- Grouped Options - Models organized under "Models" label in the dropdown
- Rich Descriptions - Each model shows capabilities and use cases
- Icon Integration - Bot message square icon indicates AI functionality
- Accessible Selection - Proper ARIA labels and keyboard navigation support
Action Integration
- Temporary Chat - Quick access button for temporary conversations
- User Management - Standard user profile menu with account options
- Clean Spacing - Proper gap management between action elements
- Responsive Design - Consistent sizing across different screen sizes
Implementation Notes
- Uses shadcn/ui Select component with SelectGroup for organized model options
- Model descriptions use
data-desc
attribute for custom styling support - Temporary chat button uses rounded-full styling for distinctive appearance
- All action buttons include proper ARIA labels for accessibility
- Model selector includes BotMessageSquare icon to indicate AI functionality
- Compatible with shadcn/ui design system and Tailwind CSS styling framework
- Left-aligned model selector emphasizes primary functionality
- Right-aligned actions maintain consistent user interface patterns across navbar variations
Team Switcher Navigation Bar
Social platform navigation bar with team switcher, icon-based navigation, notifications, and action buttons. Features centered icon navigation, team selector, and comprehensive notification management for collaborative applications.
Search and Toggle Navigation Bar
Feature-rich navigation bar with search functionality, test mode toggle, layout controls, and comprehensive menu system. Includes notifications, settings, info menu, and quick action buttons for productivity applications.