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

      Parameters

      • id: string

        Unique identifier for the group.

      • label: string

        Display text for the group header.

      • children: readonly NavigationNode[]

        Child navigation nodes rendered inside the group.

      • Optionaloptions: { expanded?: boolean; icon?: string }

        Optional icon and expanded state.

      Returns NavigationNode

      A NavigationNode with children.

      navGroup('settings', 'Settings', [
      navItem('general', 'General'),
      navItem('security', 'Security'),
      ], { icon: UIIcons.Lucide.Account.Settings })