Design engineer friends, I made a new thing to make your life easier. Releasing Liquid Layout, a small, powerful, familiar and extensible layout engine for the web, inspired by SwiftUI's engine. It's an excellent choice when you need to do layout where CSS doesn't help you, like the Canvas.
It is powerful out of the box, and can be integrated anywhere. Build a layout tree, then query the calculated positions and dimensions on the nodes.
- Zero dependencies, 4.5 KiB
- Beautiful API
- Fast
- Extensible: write your own layout nodes and use them together with the builtin ones!
- Batteries included: VStack, HStack, Padding, etc...
The layout in the below
@threejs demo is driven entirely with Liquid Layout. Also, I heard ya'll like Lissajous curves. :)