Skip to content

Resizable ​

Horizontal

Loading...

Three Panels

Loading...

<flint-resizable-group> ​

Resizable Group: a container that enables resizable panels with draggable handles.

  • Tag: <flint-resizable-group>
  • Class: FlintResizableGroup

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintResizableGroup } from '@getufy/flint-ui';

Usage ​

html
<flint-resizable-group></flint-resizable-group>

Properties ​

PropertyAttributeTypeDefaultDescription
orientationorientationOrientation'horizontal'Layout direction — 'horizontal' (row) or 'vertical' (column).
dirdir'ltr' | 'rtl''ltr'Text direction for RTL support.

Events ​

EventDetailDescription
flint-resizable-collapse—Fired when a panel is collapsed.
flint-resizable-expand—Fired when a collapsed panel is expanded.
flint-resizable-change—Fired when panel sizes change via drag or keyboard.

CSS Parts ​

NameDescription
gripThe grip element.

Methods ​

MethodDescription
getLayout(): number[]Returns a snapshot of panel sizes as percentages (0-100).

<flint-resizable-panel> ​

  • Tag: <flint-resizable-panel>
  • Class: FlintResizablePanel

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintResizablePanel } from '@getufy/flint-ui';

Usage ​

html
<flint-resizable-panel></flint-resizable-panel>

Properties ​

PropertyAttributeTypeDefaultDescription
sizesizenumber0Current size as percentage (0–100).
defaultSizedefault-sizenumber0Default size — applied once on first update.
minSizemin-sizenumber0Minimum size percentage (0–100).
maxSizemax-sizenumber100Maximum size percentage (0–100).
collapsiblecollapsiblebooleanfalseWhether the panel can collapse to zero size via drag.
collapsedcollapsedbooleanfalseWhether the panel is currently collapsed via the programmatic API.

Methods ​

MethodDescription
collapse(): voidCollapse this panel to zero size, transferring its space to the adjacent
expand(): voidExpand this panel back to its previous size (or defaultSize as fallback).
toggle(): voidToggle between collapsed and expanded states.

<flint-resizable-handle> ​

  • Tag: <flint-resizable-handle>
  • Class: FlintResizableHandle

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintResizableHandle } from '@getufy/flint-ui';

Usage ​

html
<flint-resizable-handle></flint-resizable-handle>

Properties ​

PropertyAttributeTypeDefaultDescription
withHandlewith-handlebooleanfalseShow a visible drag grip.
disableddisabledbooleanfalseDisable interaction.