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
  2bd9695f_7345_c52f_9b75_f6e3c028a7e1["CommandSeparator()"]
  10857045_23ce_0bc6_2bea_40b3b73a8c34["command.tsx"]
  2bd9695f_7345_c52f_9b75_f6e3c028a7e1 -->|defined in| 10857045_23ce_0bc6_2bea_40b3b73a8c34
  style 2bd9695f_7345_c52f_9b75_f6e3c028a7e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui-rtl/command.tsx lines 133–144

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/base/ui-rtl/command.tsx.
Where is CommandSeparator() defined?
CommandSeparator() is defined in apps/v4/examples/base/ui-rtl/command.tsx at line 133.

Analyze Your Own Codebase

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

Try Supermodel Free