Skip to content
API reference

components/resize-handle

Import
import * as api from "@fungi.computer/caps/components/resize-handle";
Kind Export Description
type alias ResizeHandleProps Accessible grip presentation with caller-owned resize state and pointer gesture.
constant ResizeHandle Visual and keyboard surface for a caller-owned resize gesture.

ResizeHandlePropstype alias

Section titled “ResizeHandleProps”
Signature
type ResizeHandleProps = Omit<HTMLAttributes<HTMLDivElement>, "onChange"> &
object;

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

Name Type Description
aria-label string -
orientation "horizontal" | "vertical" -
variant? "grip" | "notch" -
value number -
min number -
max number -
onValueChange() (value) => void Receives a clamped pixel position from keyboard controls.

ResizeHandleconstant

Section titled “ResizeHandle”
Signature
const ResizeHandle: ForwardRefExoticComponent<
Omit<HTMLAttributes<HTMLDivElement>, "onChange"> &
object &
RefAttributes<HTMLDivElement>
>;

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