Home / Function/ SidebarMenuSub() — ui Function Reference

SidebarMenuSub() — ui Function Reference

Architecture documentation for the SidebarMenuSub() function in sidebar.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  768b2f00_19d1_8321_2687_597faa92ea67["SidebarMenuSub()"]
  0dd28c0a_4131_40f2_8cf0_e0611d33faf6["sidebar.tsx"]
  768b2f00_19d1_8321_2687_597faa92ea67 -->|defined in| 0dd28c0a_4131_40f2_8cf0_e0611d33faf6
  style 768b2f00_19d1_8321_2687_597faa92ea67 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/sidebar.tsx lines 640–653

function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">) {
  return (
    <ul
      data-slot="sidebar-menu-sub"
      data-sidebar="menu-sub"
      className={cn(
        "border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5",
        "group-data-[collapsible=icon]:hidden",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does SidebarMenuSub() do?
SidebarMenuSub() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx.
Where is SidebarMenuSub() defined?
SidebarMenuSub() is defined in apps/v4/registry/new-york-v4/ui/sidebar.tsx at line 640.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free