Documentation

Introduction

Substrate UI is a dense pro workspace component library built on shadcn/ui v2. It gives your React applications the look and feel of professional tools like Linear, Figma, Raycast, and Unity -- without months of custom component development.

What is Substrate UI?

Substrate UI is a variant of shadcn/ui v2 designed specifically for pro workspace applications. Where default shadcn gives you clean, minimal components, Substrate gives you dense, functional, opinionated components that look like they belong in production software -- not a tutorial.

Every component ships with three density modes (compact, comfortable, spacious), a dark-first true neutral palette, and patterns extracted from professional applications. It is not a fork — it is an extension. Your existing shadcn components continue to work alongside Substrate components.

Quick install

Install any Substrate component via the shadcn CLI:

npx shadcn@latest add @substrateui/button

Or install a dense workspace component:

npx shadcn@latest add @substrateui/tree-view

What's included

Substrate UI is organized in tiers, from atomic primitives to a full workspace SDK:

Primitives67

Buttons, inputs, selects, dialogs, data tables, tooltips, popovers, accordions, and more. Every primitive is density-aware and ships with dark/light mode support.

Blocks79

Pre-composed building blocks like stat cards, user menus, search inputs, tree views, code blocks, toolbars, and status bars.

Patterns42

Complete feature implementations: auth flows, settings panels, chat interfaces, node editors, command palettes, and kanban boards.

Layouts7

Full app architectures: Sidebar + Canvas, Multi-Panel, Dashboard Overview, Marketing Landing, Inbox Three-Pane, Settings Layout, and Workspace Layout.

Templates5

Production-ready app starters: SaaS Dashboard, AI Agent Platform, CRM, Marketplace, and Design Tool.

SDK7 modules

Headless workspace shell, entity system, module registry, field rendering with AutoForm, and a command dispatcher with hotkeys. Includes 7 template modules: Finance, CRM, Project Management, Design Tool, Data Platform, Admin, and Agent Ops.

Technology

Substrate UI is built on a modern, proven stack:

  • --React 19 Server Components, hooks, concurrent features
  • --Tailwind CSS v4 CSS-first configuration, custom properties, zero-runtime
  • --Radix UI Accessible, unstyled primitives for robust interactive components
  • --shadcn/ui v2 Copy-paste component architecture, no lock-in, full ownership
  • --TypeScript Full type safety across all components and hooks

Explore