Home / Function/ ResizableHorizontal() — ui Function Reference

ResizableHorizontal() — ui Function Reference

Architecture documentation for the ResizableHorizontal() function in resizable-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  d282c552_7c0e_fd18_e80a_0c2d1cfbb24d["ResizableHorizontal()"]
  d603466c_60da_fe3a_8d1b_ccebfbe364dc["resizable-example.tsx"]
  d282c552_7c0e_fd18_e80a_0c2d1cfbb24d -->|defined in| d603466c_60da_fe3a_8d1b_ccebfbe364dc
  style d282c552_7c0e_fd18_e80a_0c2d1cfbb24d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/resizable-example.tsx lines 28–49

function ResizableHorizontal() {
  return (
    <Example title="Horizontal">
      <ResizablePanelGroup
        orientation="horizontal"
        className="min-h-[200px] rounded-lg border"
      >
        <ResizablePanel defaultSize="25%">
          <div className="flex h-full items-center justify-center p-6">
            <span className="font-semibold">Sidebar</span>
          </div>
        </ResizablePanel>
        <ResizableHandle />
        <ResizablePanel defaultSize="75%">
          <div className="flex h-full items-center justify-center p-6">
            <span className="font-semibold">Content</span>
          </div>
        </ResizablePanel>
      </ResizablePanelGroup>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does ResizableHorizontal() do?
ResizableHorizontal() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/resizable-example.tsx.
Where is ResizableHorizontal() defined?
ResizableHorizontal() is defined in apps/v4/registry/bases/base/examples/resizable-example.tsx at line 28.

Analyze Your Own Codebase

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

Try Supermodel Free