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.

TopicDescription
ModularUILearn how the ModularUI works.
LayoutLearn how UI layout works using Yoga-based flexbox rules.
EventsUnderstand the UI event system, including dispatching and bubbling.
StylesheetUse LSS to define styles declaratively and apply themes consistently.
StyleAnimationAnimate style properties at runtime with code-driven keyframes and easing.
Data BindingsBind UI components to data sources with automatic updates.
Screen & MenuIntegrate ModularUI with client screens and server-backed menus.

Released under the MIT License.