Breadcrumb and Filters Navigation Bar
Reports-focused navigation bar with breadcrumb navigation, date picker, advanced filters, and bookmark functionality. Features hierarchical navigation, date selection, multi-group filtering, and saved items management for analytics dashboards.
Powered by
Installation
npx shadcn@latest add https://www.shadcn.io/registry/navbar-15.json
npx shadcn@latest add https://www.shadcn.io/registry/navbar-15.json
pnpm dlx shadcn@latest add https://www.shadcn.io/registry/navbar-15.json
bunx shadcn@latest add https://www.shadcn.io/registry/navbar-15.json
Features
- Breadcrumb navigation with home icon and hierarchical page structure
- Date picker with calendar popup and formatted date display using date-fns
- Advanced filters with grouped checkboxes, active filter count, and clear functionality
- Saved items button with bookmark icon and responsive design
- Home icon integration showing house icon for the first breadcrumb item
- Filter management with status and category groups, visual active indicators
- Responsive layout with mobile-friendly saved button (icon-only on small screens)
- TypeScript support with comprehensive interfaces for breadcrumbs and filters
Use Cases
This free open source React component works well for:
- Analytics dashboards - Reporting interfaces with date ranges and data filtering using Next.js
- Admin panels - Management systems with breadcrumb navigation and content filtering using TypeScript
- Data visualization - Dashboards with date selection and multi-dimensional filtering using Tailwind CSS
- Content management - Systems with hierarchical navigation and advanced search capabilities
API Reference
Navbar15
Prop | Type | Default | Description |
---|---|---|---|
breadcrumbItems | Navbar15BreadcrumbItem[] | defaultBreadcrumbItems | Array of breadcrumb navigation items |
showHomeIcon | boolean | true | Whether to show home icon for first breadcrumb item |
selectedDate | Date | undefined | Controlled date picker value |
filterGroups | FilterGroup[] | defaultFilterGroups | Array of filter groups with options |
savedButtonText | string | "Saved" | Text label for the saved items button |
onBreadcrumbClick | (href: string) => void | undefined | Callback for breadcrumb item clicks |
onDateChange | (date: Date | undefined) => void | undefined | Callback for date picker changes |
onFilterChange | (groupId: string, optionId: string, checked: boolean) => void | undefined | Callback for filter option changes |
onClearFilters | () => void | undefined | Callback for clearing all filters |
onSavedClick | () => void | undefined | Callback for saved button clicks |
Breadcrumb Interface
interface Navbar15BreadcrumbItem {
href?: string; // Link URL for navigation
label: string; // Display text for breadcrumb
isCurrentPage?: boolean; // Mark as current page (no link)
}
Filter Interface
interface FilterGroup {
id: string;
label: string;
options: FilterOption[];
}
interface FilterOption {
id: string;
label: string;
checked?: boolean;
}
Navigation Features
- Hierarchical Breadcrumbs - Clear page hierarchy with home icon and separators
- Current Page Indicator - Non-interactive current page display in breadcrumb
- Responsive Icons - Home icon with screen reader support for accessibility
- Click Handling - Prevented default navigation with callback support
Date Selection
- Calendar Popup - Full calendar interface with date selection
- Formatted Display - Human-readable date format using date-fns
- Controlled State - Support for controlled and uncontrolled date values
- Clear Interface - Calendar icon with placeholder text when no date selected
Filter System
- Grouped Filters - Organized filter options by category (Status, Category, etc.)
- Active Count Badge - Visual indicator showing number of active filters
- Clear Functionality - One-click clearing of all active filters
- Checkbox Interface - Multi-select checkboxes with visual checked states
Implementation Notes
- Uses shadcn/ui Breadcrumb component for semantic navigation structure
- Date picker integrates Calendar component with Popover for clean interface
- Filter system uses DropdownMenuCheckboxItem for accessible multi-selection
- Active filter count displayed with Badge component for visual feedback
- Bookmark button responsive design shows icon-only on mobile devices
- Compatible with shadcn/ui design system and Tailwind CSS styling framework
- All interactive elements include proper callback support for application integration
- Home icon provides visual hierarchy anchor point with screen reader accessibility
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.
App Switcher Navigation Bar
Application-focused navigation bar with team switcher, central app toggle, and action buttons. Features searchable team selection, grid-based app switching, and export/upgrade functionality for multi-application platforms.