Skip to main content

Overview

Navigation components help users move through your application with clear wayfinding. This includes top navigation bars, side navigation menus, and breadcrumb trails. The Navbar component provides a horizontal navigation bar typically placed at the top of the page.

Basic Navbar

string
default:"default"
Visual style: default, transparent, or solid
boolean
default:"false"
Whether the navbar sticks to the top when scrolling
ReactNode
required
Navbar content
The Sidebar component provides vertical navigation, typically placed on the left side of the page.

Basic Sidebar

Collapsible Sidebar

boolean
default:"false"
Whether the sidebar is in collapsed state (icon-only)
function
Callback when toggle button is clicked: () => void
string
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 show the current page’s location within the navigation hierarchy.

Basic Breadcrumbs

Dynamic Breadcrumbs

ReactNode
default:"'/'"
Custom separator between breadcrumb items
ReactNode
required
BreadcrumbItem components
string
Link destination (omit for current/last item)
ReactNode
required
Item label

TypeScript Interfaces

Complete Layout Example

Combine Navbar, Sidebar, and Breadcrumbs for a complete navigation system that helps users understand where they are and how to navigate your app.

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