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