Skip to content

Basics

Since 2.1.0

LDLib2 UI follows ideas similar to Web UI, UI Toolkits, and fluent-style APIs.
All UI objects are built from a single base type called UIElement.
Different behaviors and visual appearances are achieved by composing elements with layout, styles, and events.

If you have read the Getting Started guide,
you may have noticed that LDLib2 UI is highly flexible and modular.

Below is a list of core pages you may want to explore next.
Each page focuses on a specific aspect of the UI system.

Topic Description
ModularUI Learn how the ModularUI works.
Layout Learn how UI layout works using Yoga-based flexbox rules.
Events Understand the UI event system, including dispatching and bubbling.
Stylesheet Use LSS to define styles declaratively and apply themes consistently.
Data Bindings Bind UI components to data sources with automatic updates.
Screen & Menu Integrate ModularUI with client screens and server-backed menus.