For vue2 projects, use @94ai/common-ui
LLMs.md

nf-resizable-panels ​

Resizable panels with horizontal/vertical layouts, minimum sizes and local caching.

Import the components below; see the package README for standalone installation.

Examples ​

Basic usage ​

Loading example…
Basic usage

More examples 2 ​

Loading example…
More examples 2

More examples 3 ​

Loading example…
More examples 3

Props ​

Text props follow the library language when omitted; defaults below use this language.

ParameterDescriptionTypeOptionsDefault
resizablePanelsContainerTagContainer tag.string—'div'
seperatorSizeSeparator width in pixels; 0 uses the theme default.number—0
fillSeperatorFill the separator; shown on hover in border mode.boolean—false
dragDirectionDrag direction: row is horizontal, column is vertical.stringrow / column'row'
resizeMinWidthMinimum resize dimension: width for row, height for column.number—0
symbolModeSeparator symbol or border mode.stringsymbol / border'symbol'
seperatorPositionSeparator position.stringstart / end / center'start'
uniqueCache identifier; use a different value for each layout.string—'resiable-panel-child'
divideTypeResize via flex-basis or width/height.stringflex / calc'calc'
cachedCache panel sizes after dragging.boolean—false

Events ​

EventDescriptionPayload
resizeFires on drag release and after keyboard resizing.—

Slots ​

ParameterDescriptionPayload
defaultDirect child panels; give them initial dimensions or flex.—
seperator-symbolCustom separator symbol.—

Methods ​

NameTypeDescription
refresh()voidRecollect panels and read compatible cache.

Migration notes ​

Legacy seperator* spellings and the nf-resizable-panels-${unique} key are preserved. Cache restores only when panel count matches and total size differs by at most 4px. Arrow keys resize by 10px, Shift+Arrow by 1px. Drag listeners are cleaned up.