Claudio Castillo
Back

Case study, 13UI

A design system for apps built from panels

In AI assistants and code editors the layout is part of the product. I designed and built 13UI, an open-source design system with a docking engine at its core, and published it as a registry other projects install from.

Year
2026
My role
Design & development
Stack
React 19, Tailwind CSS v4, UI SDK
Components
25+ and a docking engine
Status
Public beta, MIT
The 13UI workbench: a sidebar, a chat panel, and a diff panel above a terminal

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:

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 13UI home page: a live dock to try, with Chat, Diff, Files and Terminal panels

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 13UI docs: the introduction, how the registry works and what it’s built with

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.

Next case studyA marketplace for parents at a school, one message away