Overview
Navigation components help users move through your application with clear wayfinding. This includes top navigation bars, side navigation menus, and breadcrumb trails.Navbar
The Navbar component provides a horizontal navigation bar typically placed at the top of the page.Basic Navbar
Navbar with Actions
Navbar Props
string
default:"default"
Visual style:
default, transparent, or solidboolean
default:"false"
Whether the navbar sticks to the top when scrolling
ReactNode
required
Navbar content
Sidebar
The Sidebar component provides vertical navigation, typically placed on the left side of the page.Basic Sidebar
Collapsible Sidebar
Sidebar Props
boolean
default:"false"
Whether the sidebar is in collapsed state (icon-only)
function
Callback when toggle button is clicked:
() => voidstring
default:"240px"
Width of the expanded sidebar
ReactNode
required
Sidebar content
SidebarItem Props
ReactNode
Icon to display before the text
string
Link destination
boolean
default:"false"
Whether this item is currently active
ReactNode
required
Item label
Breadcrumbs
Breadcrumbs show the current page’s location within the navigation hierarchy.Basic Breadcrumbs
Dynamic Breadcrumbs
Breadcrumbs Props
ReactNode
default:"'/'"
Custom separator between breadcrumb items
ReactNode
required
BreadcrumbItem components
BreadcrumbItem Props
string
Link destination (omit for current/last item)
ReactNode
required
Item label
TypeScript Interfaces
Complete Layout Example
Accessibility
- Uses semantic HTML with
<nav>elements - Includes proper ARIA labels and roles
- Supports keyboard navigation (Tab, Enter, Arrow keys)
- Indicates current/active page for screen readers
- Focus management with visible focus indicators