Skip to content

components/resize-handle

@fungi.computer/caps


@fungi.computer/caps / components/resize-handle

ResizeHandleProps = Omit<HTMLAttributes<HTMLDivElement>>, "onChange"> > & object

Accessible grip presentation with caller-owned resize state and pointer gesture.

aria-label: string

orientation: "horizontal" | "vertical"

optional variant?: "grip" | "notch"

value: number

min: number

max: number

onValueChange: (value) => void

Receives a clamped pixel position from keyboard controls.

number

void

const ResizeHandle: ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLDivElement>>, "onChange"> > & object & RefAttributes<HTMLDivElement>>>>

Visual and keyboard surface for a caller-owned resize gesture.