Getting StartedInstallation and setup guides 6
FormInput and selection components 26
LayoutWorkflow and structural layout components 10
NavigationMenu surfaces and hierarchical actions 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 6
UtilityGeneral-purpose interface utilities 7

Split Layout API

Import all three standalone building blocks from @tailng-ui/components.

tng-split-group

InputTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Chooses left/right or top/bottom layout.
disabledbooleanfalsePreserves sizes while disabling every handle.
stepnumber10Default arrow-key increment in pixels.
largeStepnumber50Default Shift+Arrow increment.

[tngSplitPane]

InputTypeDefaultDescription
paneIdstringgeneratedStable id used by events and imperative methods.
sizenumber | nullnullControlled pixel size.
defaultSizenumber | nullnullInitial uncontrolled pixel size.
minSize, maxSizenumber0, unboundedExpanded size constraints.
grownumber0Weight used to receive remaining container space.
collapsiblebooleanfalseAllows keyboard, pointer, or API collapse.
collapsedboolean | undefinedundefinedOptional controlled collapse state.
defaultCollapsedbooleanfalseInitial uncontrolled collapse state.
collapsedSizenumber0Collapsed pixels; use a nonzero value for an icon rail.
disabledbooleanfalsePrevents adjacent handles from resizing this pane.

sizeChange and collapsedChange emit controlled-state requests.

tng-split-handle

ariaLabel names the separator. Optional step and largeStep override the group, while primaryPane selects 'previous', 'next', or automatic collapse behavior.

Events and methods

resizeStart, frame-coalesced resize, and resizeEnd emit TngSplitResizeEvent with adjacent ids, final pixel sizes, and pointer, keyboard, or api source.

The exported group instance provides recalculate(), setPaneSize(id, pixels), setPaneCollapsed(id, state), and togglePane(id). Persistence remains application-owned.