Home / Function/ CommandSeparator() — ui Function Reference

CommandSeparator() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  eac2bf00_9604_8485_efb5_2849e4504c59["CommandSeparator()"]
  3bbe14d1_264d_de37_24d9_abecee38854b["command.tsx"]
  eac2bf00_9604_8485_efb5_2849e4504c59 -->|defined in| 3bbe14d1_264d_de37_24d9_abecee38854b
  style eac2bf00_9604_8485_efb5_2849e4504c59 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/command.tsx lines 135–146

function CommandSeparator({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.Separator>) {
  return (
    <CommandPrimitive.Separator
      data-slot="command-separator"
      className={cn("bg-border -mx-1 h-px", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does CommandSeparator() do?
CommandSeparator() is a function in the ui codebase, defined in apps/v4/examples/radix/ui-rtl/command.tsx.
Where is CommandSeparator() defined?
CommandSeparator() is defined in apps/v4/examples/radix/ui-rtl/command.tsx at line 135.

Analyze Your Own Codebase

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

Try Supermodel Free