Tutorial

This tutorial walks through libui-python step by step — from a simple window to a full application. Each chapter introduces one concept, and every code example is a standalone runnable script.

All examples use the declarative API, the recommended way to build UIs with libui-python.

Running examples

Each example is a self-contained Python file in docs/tutorial/examples/. Run any of them with:

python docs/tutorial/examples/00-hello-world.py

Chapters