Skip to content
PropDefaultType
as
'div'
AsTag | Component

The element or component this component should render as. Can be overwritten by asChild.

asChild
boolean

Change the default rendered element for the one passed as a child, merging their props and behavior.

Read our Composition guide for more details.

disabled
boolean

Disable drag handle

hitAreaMargins
PointerHitAreaMargins

Allow this much margin when determining resizable handle hit detection

id
string

Resize handle id (unique within group); falls back to useId when not provided

tabindex
0
number

Tabindex for the handle

EmitPayload
dragging
[isDragging: boolean]

Event handler called when dragging the handler.