Home / Function/ CommandGroup() — ui Function Reference

CommandGroup() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  ee5c7c4b_3586_81b9_dbd4_e655f578fff4["CommandGroup()"]
  9a692293_b172_5e5b_67c1_d72b69590388["command.tsx"]
  ee5c7c4b_3586_81b9_dbd4_e655f578fff4 -->|defined in| 9a692293_b172_5e5b_67c1_d72b69590388
  style ee5c7c4b_3586_81b9_dbd4_e655f578fff4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/registry/new-york/ui/command.tsx lines 86–95

>(({ className, ...props }, ref) => (
  <CommandPrimitive.Group
    ref={ref}
    className={cn(
      "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
      className
    )}
    {...props}
  />
))

Subdomains

Frequently Asked Questions

What does CommandGroup() do?
CommandGroup() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/command.tsx.
Where is CommandGroup() defined?
CommandGroup() is defined in deprecated/www/registry/new-york/ui/command.tsx at line 86.

Analyze Your Own Codebase

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

Try Supermodel Free