← All applications
panels-layout
Tab & split panel layouts for Svelte 5 — drag-and-drop tabs, splits, stack mode. ~950 lines.
Live demo
Why it exists
IDE-style layouts — draggable tabs, split views, resizable panes — usually mean pulling in a heavy dependency and adopting its whole component model. panels-layout does the opposite: the host app owns the panel components, the library only manages the layout tree, tab rendering, drag-and-drop and splitter resizing.
It is Svelte 5 native (runes, no legacy stores in the components), persists the whole layout to localStorage so users keep their arrangement across sessions, and fits in about 950 lines with zero runtime dependencies beyond Svelte itself.