Home / Function/ ButtonGroupOrientation() — ui Function Reference

ButtonGroupOrientation() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2f24504e_236e_332d_a700_2351d9adfd93["ButtonGroupOrientation()"]
  88e6045b_7c32_1203_ee3d_ef5e6be2e1b3["button-group-orientation.tsx"]
  2f24504e_236e_332d_a700_2351d9adfd93 -->|defined in| 88e6045b_7c32_1203_ee3d_ef5e6be2e1b3
  style 2f24504e_236e_332d_a700_2351d9adfd93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/examples/button-group-orientation.tsx lines 6–21

export default function ButtonGroupOrientation() {
  return (
    <ButtonGroup
      orientation="vertical"
      aria-label="Media controls"
      className="h-fit"
    >
      <Button variant="outline" size="icon">
        <PlusIcon />
      </Button>
      <Button variant="outline" size="icon">
        <MinusIcon />
      </Button>
    </ButtonGroup>
  )
}

Subdomains

Frequently Asked Questions

What does ButtonGroupOrientation() do?
ButtonGroupOrientation() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/examples/button-group-orientation.tsx.
Where is ButtonGroupOrientation() defined?
ButtonGroupOrientation() is defined in apps/v4/registry/new-york-v4/examples/button-group-orientation.tsx at line 6.

Analyze Your Own Codebase

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

Try Supermodel Free