Components
Resize Handle
ExperimentalExperimental — the contract and the rendering can change without notice. Own the installed copy before shipping it.Edge and corner grip for resizing a positioned box; the host owns the drag math.
Composition
Resizable box
- positioned box
- <ResizeHandle />
Installation
The Control UI source installs this primitive from src/registry/sources/control-ui/ui/resize-handle.tsx.
Raw code
Primary installed source
Knobs
Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.
--cui-resize-handle-* · 7 knobsHow the cascade resolves--cui-resize-handle-size<length-percentage>10px--cui-resize-handle-hit-size<length-percentage>var(--target-min)--cui-resize-handle-background<color>var(--background)--cui-resize-handle-hover-background<color>oklch(from var(--primary) l c h / 0.1)--cui-resize-handle-border-color<color>var(--primary)--cui-resize-handle-border-width<length>var(--control-rim-width)--cui-resize-handle-radius<length-percentage>0px