CommandShortcut() — ui Function Reference
Architecture documentation for the CommandShortcut() function in command.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b6dcb387_ab51_8ac4_d555_7f97b4c3ec34["CommandShortcut()"] ba6c0424_1e33_efc2_5b1d_83fec08894aa["command.tsx"] b6dcb387_ab51_8ac4_d555_7f97b4c3ec34 -->|defined in| ba6c0424_1e33_efc2_5b1d_83fec08894aa style b6dcb387_ab51_8ac4_d555_7f97b4c3ec34 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/command.tsx lines 127–140
const CommandShortcut = ({
className,
...props
}: React.HTMLAttributes<HTMLSpanElement>) => {
return (
<span
className={cn(
"ml-auto text-xs tracking-widest text-muted-foreground",
className
)}
{...props}
/>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does CommandShortcut() do?
CommandShortcut() is a function in the ui codebase, defined in deprecated/www/registry/default/ui/command.tsx.
Where is CommandShortcut() defined?
CommandShortcut() is defined in deprecated/www/registry/default/ui/command.tsx at line 127.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free