DropdownMenuShortcut() — ui Function Reference
Architecture documentation for the DropdownMenuShortcut() function in dropdown-menu.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6f5df1a2_fb97_7674_7320_1eb6738a371c["DropdownMenuShortcut()"] febdc062_65bf_baa1_0c99_f0e8129d515e["dropdown-menu.tsx"] 6f5df1a2_fb97_7674_7320_1eb6738a371c -->|defined in| febdc062_65bf_baa1_0c99_f0e8129d515e style 6f5df1a2_fb97_7674_7320_1eb6738a371c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx lines 194–208
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 ms-auto text-xs tracking-widest",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DropdownMenuShortcut() do?
DropdownMenuShortcut() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx.
Where is DropdownMenuShortcut() defined?
DropdownMenuShortcut() is defined in apps/v4/examples/radix/ui-rtl/dropdown-menu.tsx at line 194.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free