Description
Trellis is a layout library for web apps that lets people nest panels inside panels to any depth and zoom in on the part they need. It is built for tools people keep open all day, such as art programs and IDEs. Panels can be split, tabbed or floated, and dragging a tab onto a panel edge docks it. The site says moving or zooming never remounts a view, so an iframe or a canvas keeps its state while it is moved. Animated drags and zoom transitions make the layout easy to follow. The whole workspace is described by one JSON document, and you set placement rules for each type of view. Trellis works with or without React, and it is themed with CSS custom properties, with four built-in themes. The core is about 33 kB gzipped with no runtime dependencies. It includes keyboard navigation and shortcuts. Version 0.2 succeeds the earlier react-dockable project. The source is public on GitHub.…
Highlights
- Panels nested to any depth with a zoom view
- Views stay mounted when they move, dock or float
- Whole layout stored as one JSON document
- Works with or without React
- Four themes driven by CSS custom properties
Ratings & Reviews
No ratings yet
Be the first to rate Trellis.
People also visit

nested-container-frames
Create a container-in-container layout system using nested frames
Square UI
Collection of beautifully crafted open-source layouts UI built with shadcn/ui

tailwindcss-advanced-layouts
Tailwind CSS advanced layout techniques including CSS Grid and Flexbox patterns
Trellis FAQ
What is Trellis?
Trellis is a layout library for web apps. It gives you dockable panels that can be nested, split, tabbed and zoomed, for tools where people work in many views at once.
Does it work outside React?
Yes. The site says Trellis works with or without React.
How is the layout saved?
The whole workspace is described by one JSON document, so you can store and restore it.
How big is it?
The core is about 33 kB gzipped with zero runtime dependencies, according to the site.
Is it open source?
The source is public on GitHub at DanFessler/trellis.
What are the best Trellis alternatives?
Popular alternatives to Trellis include Gridstack.js, Square UI and Glide. See all Trellis alternatives





