DropdownMenuShortcut() — ui Function Reference
Architecture documentation for the DropdownMenuShortcut() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 8fc10ce2_6820_17dc_cb43_626396ad61f5["DropdownMenuShortcut()"] 1559eaad_14f8_0916_ccf8_56a1d4e5399e["dropdown-menu.tsx"] 8fc10ce2_6820_17dc_cb43_626396ad61f5 -->|defined in| 1559eaad_14f8_0916_ccf8_56a1d4e5399e style 8fc10ce2_6820_17dc_cb43_626396ad61f5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/dropdown-menu.tsx lines 239–253
function DropdownMenuShortcut({
className,
...props
}: React.ComponentProps<"span">) {
return (
<span
data-slot="dropdown-menu-shortcut"
className={cn(
"text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does DropdownMenuShortcut() do?
DropdownMenuShortcut() is a function in the ui codebase, defined in apps/v4/examples/base/ui/dropdown-menu.tsx.
Where is DropdownMenuShortcut() defined?
DropdownMenuShortcut() is defined in apps/v4/examples/base/ui/dropdown-menu.tsx at line 239.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free