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
  4e3422f6_b625_208c_52b2_bd51c61109ef["CommandGroup()"]
  22fc48d0_3cb2_ec62_5e39_bb16c64c048e["command.tsx"]
  4e3422f6_b625_208c_52b2_bd51c61109ef -->|defined in| 22fc48d0_3cb2_ec62_5e39_bb16c64c048e
  style 4e3422f6_b625_208c_52b2_bd51c61109ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/command.tsx lines 127–138

function CommandGroup({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.Group>) {
  return (
    <CommandPrimitive.Group
      data-slot="command-group"
      className={cn("cn-command-group", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandGroup() do?
CommandGroup() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/ui/command.tsx.
Where is CommandGroup() defined?
CommandGroup() is defined in apps/v4/registry/bases/radix/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