Get StartedComponentsStylingThemingMath & Science
MCP

Layout

Resizable

Panels you can resize by dragging or with the keyboard.

Markdown

Import

tsx
import { Resizable } from "@indoku/ui"

Examples

Basic usage

One
Two
Three

Props

Panel

PropTypeDefaultDescription
defaultSizenumber–Percent (0–100). Panels without a defaultSize share the remaining space equally.
minSizenumber–
maxSizenumber–

PanelGroup

PropTypeDefaultDescription
directionDirection–
onLayout(sizes: number[]) => void–Called whenever sizes change (array of percents, in panel order).

Handle

PropTypeDefaultDescription
withHandleboolean–Show a small grip in the middle of the line.
stepnumber5Keyboard step in percent.

* required. Style props and HTML attributes are accepted as well.

Created by @indokudev