ResizableHandle() — ui Function Reference
Architecture documentation for the ResizableHandle() function in resizable.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 2f9e594f_f5ef_19dc_d1bc_5e56381b2fac["ResizableHandle()"] 9560941a_9c06_ca5e_5762_24f2c01658bd["resizable.tsx"] 2f9e594f_f5ef_19dc_d1bc_5e56381b2fac -->|defined in| 9560941a_9c06_ca5e_5762_24f2c01658bd style 2f9e594f_f5ef_19dc_d1bc_5e56381b2fac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/base/ui/resizable.tsx lines 26–47
function ResizableHandle({
withHandle,
className,
...props
}: ResizablePrimitive.SeparatorProps & {
withHandle?: boolean
}) {
return (
<ResizablePrimitive.Separator
data-slot="resizable-handle"
className={cn(
"bg-border focus-visible:ring-ring ring-offset-background relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:outline-hidden aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
className
)}
{...props}
>
{withHandle && (
<div className="bg-border z-10 flex h-6 w-1 shrink-0 rounded-lg" />
)}
</ResizablePrimitive.Separator>
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does ResizableHandle() do?
ResizableHandle() is a function in the ui codebase, defined in apps/v4/examples/base/ui/resizable.tsx.
Where is ResizableHandle() defined?
ResizableHandle() is defined in apps/v4/examples/base/ui/resizable.tsx at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free