Context
More and more tools are built from panels: a chat beside the code, a terminal under the editor, a preview dragged to the side. People arrange them to fit the task, and the app has to remember that arrangement.
Most component libraries stop at buttons, menus and dialogs. The layout itself, with panels that resize, collapse, move between groups and dock to an edge, is left for each team to build again.
I designed and built 13UI to cover that gap: the components and the layout engine for panel-based apps, in one system.
Approach
The dock at the center
The core is the dock. Panels sit in tab groups inside resizable splits. You can drag a tab onto another group, or to any edge of a group or of the whole layout to split it, and maximize a panel. The layout is saved, so the app opens the way you left it.
Two decisions shaped it:
- A pure layout model. Every change to the layout is a function from one state to the next, covered by tests. A team can store the layout on its own backend instead of in the browser.
- Panels keep their state. Each panel’s content mounts once and moves through a portal, so a chat or a terminal keeps what it had when you drag it, split it or switch tabs.
Copied in, not installed
Like shadcn/ui, 13UI ships as a registry: the CLI copies the components into your project and they become your code. Behavior that is easy to get wrong, like keyboard support, focus and ARIA, comes from UI SDK. Styles are Tailwind on a zinc token scale, with light and dark themes and density sizes for compact tools.
Components for AI apps
Panel apps today are often AI assistants, so the system includes the pieces they need: a composer with send and stop, messages, a “Thinking” state that folds into “Thought for 4s”, tool calls with a running state, and a caret for streaming text.
Final solution

The home page explains what 13UI is for and has a live dock to try: drag a tab onto another group or to an edge.
The workbench puts everything together as a full example: an app shell with a collapsible sidebar, a chat, a diff and a terminal, all in movable panels. It’s the cover image above.

The docs cover the foundations (tokens, icons, the changelog) and every component with live examples, plus a two-step guide to install from the registry.
Impact
13UI is live at 13ui.vercel.app, with the home, docs and workbench, and its source is on GitHub under the MIT license. It has gone through 22 beta releases, each recorded in a public changelog.
