Skip to content
aq-ui
Back to ComponentsComponent

Resizable

Open-code aq-ui accessible component family for Resizable.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add resizable

API reference

Client module

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

"use client"

import { ResizableHandle } from "@/components/ui/resizable"

<ResizableHandle />

ResizableHandle

constSource L41

Open-code aq-ui accessible component family for Resizable.

const ResizableHandle = React.forwardRef<HTMLDivElement, ResizablePrimitive.SeparatorProps & { withHandle?: boolean }>(…)
Props type
ResizablePrimitive.SeparatorProps & { withHandle?: boolean }

Props

NameType
withHandle?boolean
<ResizableHandle />

ResizablePanel

constSource L27

Public const export from Resizable.

const ResizablePanel = React.forwardRef<HTMLDivElement, ResizablePrimitive.PanelProps>(…)
Props type
ResizablePrimitive.PanelProps
<ResizablePanel />

ResizablePanelGroup

constSource L9

Public const export from Resizable.

const ResizablePanelGroup = React.forwardRef<HTMLDivElement, ResizablePrimitive.GroupProps>(…)
Props type
ResizablePrimitive.GroupProps
<ResizablePanelGroup />

Registry dependencies

utils

Package dependencies

react-resizable-panels@^4.12.2

Files

  • components/ui/resizable.tsx

Source