claudeers.
// Uncategorized / Others

react-mosaic

A React tiling window manager

// Uncategorized / Others[ cli ][ api ][ desktop ][ web ][ mobile ][ claude ]#claude#react#tiling-window-manager#typescript#window-manager#uncategorized◷ NOASSERTION$open-sourceupdated 11 days ago

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up react-mosaic (npm project) into my current project.
Found on https://claudeers.com/react-mosaic
Repo: https://github.com/nomcopter/react-mosaic
Homepage/docs: https://nomcopter.github.io/react-mosaic/
Detected install method: npm → npm install react-mosaic-component
Category: uncategorized. Platforms: cli, api, desktop, web, mobile.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
unknown; community-verified: false. Confirm the source before running anything.
// or install directly (npm)
npm install react-mosaic-component
// or clone
git clone https://github.com/nomcopter/react-mosaic

// compatibility

Platformscli, api, desktop, web, mobile
Operating systems—
AI compatibilityclaude
LicenseNOASSERTION
Pricingopen-source
LanguageTypeScript

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

React Mosaic

react-mosaic is a React tiling window manager. It gives you a drag-to-resize, drag-to-rearrange layout of panels that users can freely rearrange — inspired by IDE window management and i3-style tiling.

📖 Documentation · 🎮 Demo · 📚 API reference · 🚚 Migration from v6

screencast demo

Install

npm install react-mosaic-component react react-dom

Import the stylesheet in your app's entry point:

import 'react-mosaic-component/react-mosaic-component.css';

Quick start

import { Mosaic, MosaicWindow } from 'react-mosaic-component';
import 'react-mosaic-component/react-mosaic-component.css';

export function App() {
  return (
    <div style={{ height: '100vh' }}>
      <Mosaic<string>
        renderTile={(id, path) => (
          <MosaicWindow<string> path={path} title={`Panel ${id}`}>
            <div style={{ padding: 20 }}>Contents of {id}</div>
          </MosaicWindow>
        )}
        initialValue={{
          type: 'split',
          direction: 'row',
          children: ['a', 'b'],
        }}
      />
    </div>
  );
}

To render it, mount App from your entry file as usual:

// main.tsx
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { App } from './App';

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <App />
  </StrictMode>,
);

The wrapper div needs a real height; Mosaic fills its parent, so a parent with no height gives you an empty page.

That's a two-panel layout with a draggable divider, drag handles on each window title bar, and default toolbar buttons — in 15 lines.

For live editable examples, the n-ary tree model, custom toolbars, tabs, theming, and the full API reference, see the documentation site.

Features

  • N-ary tree layouts. A single split can hold any number of children, not just two.
  • Tabs as first-class citizens. Tab containers are a node type, not a bolted-on convention.
  • Controlled or uncontrolled. Pass value + onChange to manage the tree yourself, or initialValue to let the component own it.
  • Drag-and-drop. Built on react-dnd with HTML5 and touch backends.
  • Theming. Works with or without Blueprint; ships a default CSS theme plus CSS variables you can override.
  • Zero-config migration. Legacy v6 binary trees are auto-converted at render time. convertLegacyToNary is available for explicit upgrades.

Using with AI coding agents

The package ships an Agent Skill with the v7 API, the tree model and the common mistakes (like writing the old v6 first/second trees). It works with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and other agents that support skills:

npx skills add nomcopter/react-mosaic

Or point your agent at node_modules/react-mosaic-component/skills/react-mosaic/SKILL.md, e.g. from your AGENTS.md or CLAUDE.md. For chat assistants, the docs are also available as llms.txt and llms-full.txt.

Browser support

Current versions of Chrome, Edge, Firefox and Safari, on desktop and mobile (touch drag and drop is built in). Internet Explorer is not supported. The package is published as modern JavaScript, so if you target older browsers, let your bundler transpile react-mosaic-component too.

Contributing

Contributions are welcome:

  • Clone and install: npm install
  • Start the docs site (hot-reloads the demo and live code blocks): npm start
  • Build the library: npm run build:lib
  • Run tests: npm test
  • Lint: npm run lint

Issues and pull requests: github.com/nomcopter/react-mosaic

License

Apache License 2.0 — see LICENSE.

Originally developed by Kevin Verdieck at Palantir Technologies, Inc.

// faq

What is react-mosaic?

A React tiling window manager. It is open-source on GitHub.

Is react-mosaic free to use?

react-mosaic is open-source under the NOASSERTION license, so it is free to use.

What category does react-mosaic belong to?

react-mosaic is listed under uncategorized in the Claudeers registry of Claude-compatible tools.

5 views
★ 4,801 stars
unclaimed
updated 11 days ago

// embed badge

react-mosaic on Claudeers
[![Claudeers](https://claudeers.com/api/badge/react-mosaic.svg)](https://claudeers.com/react-mosaic)

// retro hit counter

react-mosaic hit counter
[![Hits](https://claudeers.com/api/counter/react-mosaic.svg)](https://claudeers.com/react-mosaic)

// reviews

// guestbook

0/500

// related in Uncategorized / Others

🔓

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

// uncategorizedn8n-io/⟨TypeScript⟩★ 205,721◷ NOASSERTION[ claude ]
🔓

The agent engineering platform.

// uncategorizedlangchain-ai/⟨Python⟩★ 146,945◷ MIT[ claude ]
🔓

FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Q…

// uncategorizedx1xhlol/★ 143,887◷ GPL-3.0[ claude ]
🔓

100+ AI Agent & RAG apps you can actually run — clone, customize, ship.

// uncategorizedShubhamsaboo/⟨Python⟩★ 140,637◷ Apache-2.0[ claude ]

// built by

→ see how react-mosaic connects across the ecosystem