Trellis is a layout engine for web apps where users arrange their own workspace. Panels nest inside panels as deep as users like, and the view zooms to whichever part they need, with every view kept mounted. Users can also drag, split, float and hide tabbed panels.
See the idea in the 2-minute video that started the project.
npm install
npm run dev # website and docs at http://localhost:5320
npm test # unit tests (Vitest)
npm run test:e2e # browser tests (Playwright: Chromium and Firefox; WebKit in CI)
npm run typecheck
npm run build # the three packages
npm run build:all # packages + website with examples (site/dist)
npm run verify:pack # pack tarballs and build a fresh app against React 18 and 19
A framework-free ops dashboard, plus a <trellis-workspace> page declared in HTML
npm run dev -w trellis-example-vanilla
License
Trellis is free for non-commercial use. Commercial use requires an active GitHub Sponsorship at the applicable tier (organizations of 10 or fewer developers), and larger organizations need an enterprise license. See LICENSE.md.
关于 About
Fractal layouts for web apps: nest panels to any depth, zoom to the part you need, and keep every view alive.