Documentation
Docs Sidebar
Provides a navigation sidebar using Kookie UI's Sidebar components. Supports grouped navigation items with icons, active state highlighting, and flexible presentation modes.
Perfect for documentation sites that need organized, hierarchical navigation with visual affordances.
Installation
shellUsage
tsxProps
Examples
With Icons
Add icons to navigation items using HugeIcons:
tsxMultiple Groups
Organize navigation into logical sections:
tsxWith Footer
Add custom footer content:
tsxCustom Styling
Adjust visual appearance with variants and colors:
tsxWith Next.js
Integrate with Next.js router:
tsxAccessibility
Docs Sidebar provides comprehensive accessibility features:
Keyboard Navigation
- Tab - Navigate through navigation items
- Enter/Space - Activate links
- Arrow Up/Down - Navigate between items (via Sidebar component)
Screen Readers
- Proper ARIA roles for navigation structure
- Active item announced with aria-current
- Navigation groups properly labeled
- Logo includes descriptive alt text
Focus Management
- Clear focus indicators on all interactive elements
- Focus preserved when sidebar presentation changes
- Keyboard-accessible at all times
Changelog
Added
- Navigation sidebar component
- Support for grouped navigation
- Icon support with HugeIcons
- Active state highlighting
- Framework-agnostic router integration
- Customizable variants and colors
- Footer support
© 2026 Kushagra Dhawan. Licensed under MIT. GitHub.