Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FLUI

FLUI is a declarative UI framework for Rust, inspired by Flutter’s widget-style composition. Its pipeline is a tree design — immutable View configuration → mutable Element lifecycle → layout/paint RenderObject → a Layer tree built each frame, with a Semantics tree alongside for accessibility → flui-engine compositor → wgpu GPU — with structure and APIs designed for Rust. Cross-crate decisions are recorded as ADRs. See AGENTS.md’s Design stance for the full policy.

This book teaches the current development version of FLUI. Start with a checkout and the installation guide; what each platform has been run on is recorded in the repository’s platform status. API and feature choices can change between releases.

The book is incomplete. Chapters link to the working examples and reference material where more detail is needed. Every Rust sample compiles and runs against the flui crate as a test of the repository; the linked source has the required features.

Where to start

Find the right reference

NeedSource
Runnable applications and feature flagsExample commands
Public types and method contracts for your checkoutRun cargo doc -p flui --no-deps --open; enable the same features as your application.
Widget discoveryWidget catalog
Testing an application without a native windowTesting recipe
Design decisions and crate boundariesArchitecture
Current release requirementsRelease requirements
Which platforms have been run, and where FLUI falls shortPlatform status and gaps

The repository contains this book’s source. Use the edit button on a chapter to propose a documentation correction.