Home / Function/ CommandShortcut() — ui Function Reference

CommandShortcut() — ui Function Reference

Architecture documentation for the CommandShortcut() function in command.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  e9937f92_0c9b_04d4_7fdd_d04cb7a5a89d["CommandShortcut()"]
  7a7173b4_d7f5_0575_733b_2098f08eb77d["command.tsx"]
  e9937f92_0c9b_04d4_7fdd_d04cb7a5a89d -->|defined in| 7a7173b4_d7f5_0575_733b_2098f08eb77d
  style e9937f92_0c9b_04d4_7fdd_d04cb7a5a89d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/command.tsx lines 158–172

function CommandShortcut({
  className,
  ...props
}: React.ComponentProps<"span">) {
  return (
    <span
      data-slot="command-shortcut"
      className={cn(
        "text-muted-foreground ml-auto text-xs tracking-widest",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandShortcut() do?
CommandShortcut() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/command.tsx.
Where is CommandShortcut() defined?
CommandShortcut() is defined in apps/v4/registry/new-york-v4/ui/command.tsx at line 158.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free