ResizableHandle() — ui Function Reference
Architecture documentation for the ResizableHandle() function in resizable.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD a1b0d7c6_e44b_0a6f_d0af_49e2ddbf22f9["ResizableHandle()"] 0fab01db_aa54_7fda_50b9_fc6d41abb341["resizable.tsx"] a1b0d7c6_e44b_0a6f_d0af_49e2ddbf22f9 -->|defined in| 0fab01db_aa54_7fda_50b9_fc6d41abb341 style a1b0d7c6_e44b_0a6f_d0af_49e2ddbf22f9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/examples/radix/ui-rtl/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:start-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:start-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 rtl:after:translate-x-1/2 rtl:aria-[orientation=horizontal]:after:-translate-x-0 [&[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/radix/ui-rtl/resizable.tsx.
Where is ResizableHandle() defined?
ResizableHandle() is defined in apps/v4/examples/radix/ui-rtl/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