resizable-demo.tsx — ui Source File
Architecture documentation for resizable-demo.tsx, a tsx file in the ui codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 97bbe35b_97ed_8a49_6abd_bf2bdd114af6["resizable-demo.tsx"] fe53b1ae_b07a_40b0_93dd_16e5455a878c["resizable"] 97bbe35b_97ed_8a49_6abd_bf2bdd114af6 --> fe53b1ae_b07a_40b0_93dd_16e5455a878c style 97bbe35b_97ed_8a49_6abd_bf2bdd114af6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import {
ResizableHandle,
ResizablePanel,
ResizablePanelGroup,
} from "@/examples/radix/ui/resizable"
export default function ResizableDemo() {
return (
<ResizablePanelGroup
orientation="horizontal"
className="max-w-sm rounded-lg border"
>
<ResizablePanel defaultSize="50%">
<div className="flex h-[200px] items-center justify-center p-6">
<span className="font-semibold">One</span>
</div>
</ResizablePanel>
<ResizableHandle withHandle />
<ResizablePanel defaultSize="50%">
<ResizablePanelGroup orientation="vertical">
<ResizablePanel defaultSize="25%">
<div className="flex h-full items-center justify-center p-6">
<span className="font-semibold">Two</span>
</div>
</ResizablePanel>
<ResizableHandle withHandle />
<ResizablePanel defaultSize="75%">
<div className="flex h-full items-center justify-center p-6">
<span className="font-semibold">Three</span>
</div>
</ResizablePanel>
</ResizablePanelGroup>
</ResizablePanel>
</ResizablePanelGroup>
)
}
Domain
Subdomains
Functions
Dependencies
- resizable
Source
Frequently Asked Questions
What does resizable-demo.tsx do?
resizable-demo.tsx is a source file in the ui codebase, written in tsx. It belongs to the DocumentationAtlas domain, Changelog subdomain.
What functions are defined in resizable-demo.tsx?
resizable-demo.tsx defines 1 function(s): ResizableDemo.
What does resizable-demo.tsx depend on?
resizable-demo.tsx imports 1 module(s): resizable.
Where is resizable-demo.tsx in the architecture?
resizable-demo.tsx is located at apps/v4/examples/radix/resizable-demo.tsx (domain: DocumentationAtlas, subdomain: Changelog, directory: apps/v4/examples/radix).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free