doc/module.md
FTXUI is organized into three modules, each building upon the previous:
Defines:
ftxui::Screen: a 2D grid of styled characters.ftxui::Cell: the unit of rendering.ftxui::Color and Dimension.Use for direct terminal drawing and styling.
<div class="section_buttons">| Next |
|---|
| Documentation |
Provides:
ftxui::Element: a tree structure for layout and UI.Render() to draw onto a Screen.Ideal for structured, styled UIs.
<div class="section_buttons">| Next |
|---|
| Documentation |
Adds:
ftxui::Component: stateful, interactive widgets.Checkbox, Input, Menu, Button.Use for interactive apps.
<div class="section_buttons">| Next |
|---|
| Documentation |
Modules can be used independently, or together: screen → dom → component.