@theredhead — Frontend Library - v1.0.0
    Preparing search index...
    • Creates a leaf navigation node (sidebar item).

      Parameters

      • id: string

        Unique identifier (also used as the active-page key).

      • label: string

        Display text in the sidebar and breadcrumb.

      • Optionaloptions: { badge?: string; disabled?: boolean; icon?: string; route?: string }

        Optional icon, badge, route, and disabled state.

      Returns NavigationNode

      A NavigationNode without children.

      navItem('dashboard', 'Dashboard', {
      icon: UIIcons.Lucide.Layout.LayoutDashboard,
      badge: '3',
      })