Home / Function/ ButtonGroupSeparator() — ui Function Reference

ButtonGroupSeparator() — ui Function Reference

Architecture documentation for the ButtonGroupSeparator() function in button-group.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f32870ec_7463_a7c0_6226_c65a3e389cde["ButtonGroupSeparator()"]
  cd05563e_ebfa_993c_7d04_62721e63b42d["button-group.tsx"]
  f32870ec_7463_a7c0_6226_c65a3e389cde -->|defined in| cd05563e_ebfa_993c_7d04_62721e63b42d
  style f32870ec_7463_a7c0_6226_c65a3e389cde fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/button-group.tsx lines 59–75

function ButtonGroupSeparator({
  className,
  orientation = "vertical",
  ...props
}: React.ComponentProps<typeof Separator>) {
  return (
    <Separator
      data-slot="button-group-separator"
      orientation={orientation}
      className={cn(
        "bg-input relative self-stretch data-horizontal:mx-px data-horizontal:w-auto data-vertical:my-px data-vertical:h-auto",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does ButtonGroupSeparator() do?
ButtonGroupSeparator() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/button-group.tsx.
Where is ButtonGroupSeparator() defined?
ButtonGroupSeparator() is defined in apps/v4/examples/radix/ui/button-group.tsx at line 59.

Analyze Your Own Codebase

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

Try Supermodel Free