Introduction
Since 2.1.0LDLib2 provides powerful UI library based on the Taffy layout engine. If you are struggling with GUI development, LDLib2 is definitely one of your best choice. Compared with the LDLib, LDLib2 has undergone a complete refactoring:
- modern UI layout system
- modern UI event system
- CSS-like stylesheet system
- data binding + rpc event
- massive plug-and-play components
- xml support + in-game UI visual editor
- xei / kjs supports
- completed document and usage examples
Declarative UI with Compose
Since 2.2.44The optional ldlib2-compose module builds the same element tree from Kotlin @Composable functions, so the UI follows your state without manual rebuilds. It is a separate mod and dependency.