DropdownMenuSubTrigger() — ui Function Reference
Architecture documentation for the DropdownMenuSubTrigger() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a997cd5f_a725_0aef_8eb1_c4e94129e909["DropdownMenuSubTrigger()"] b9ced632_5074_1f81_072b_9271c5dcc01c["dropdown-menu.tsx"] a997cd5f_a725_0aef_8eb1_c4e94129e909 -->|defined in| b9ced632_5074_1f81_072b_9271c5dcc01c style a997cd5f_a725_0aef_8eb1_c4e94129e909 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/dropdown-menu.tsx lines 26–39
>(({ className, inset, children, ...props }, ref) => (
<DropdownMenuPrimitive.SubTrigger
ref={ref}
className={cn(
"flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
inset && "pl-8",
className
)}
{...props}
>
{children}
<ChevronRight className="ml-auto" />
</DropdownMenuPrimitive.SubTrigger>
))
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuSubTrigger() do?
DropdownMenuSubTrigger() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/dropdown-menu.tsx.
Where is DropdownMenuSubTrigger() defined?
DropdownMenuSubTrigger() is defined in deprecated/www/registry/new-york/ui/dropdown-menu.tsx at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free