ui
Collection of interface modules. Like native/, each subdirectory is a module with a single responsibility.
| Module | What it does | Dependencies |
|---|---|---|
| core | Foundation: Widget interface, callback, thread rules (Update) |
None |
| theme | Color, size, font | None |
| locale | Frame text, switch between Chinese and English | None |
| base | Component behavior, excluding appearance: keyboard navigation, initial jump, multi-select, open state | None |
| el | GPUI style: view + chain style element + flexbox | core, theme, locale |
| kit | Components: buttons, forms, tables, overlays, application shells, charts | base, el, core, theme, locale |
| window | Window: Open, Main, shortcut keys, screenshots |
core, theme |
| markdown | Markdown rendering, optimized for AI streaming output | el, core, theme, locale |
See Architecture for module boundaries and dependency graphs. For the minimal form of application, see Quick Start.
internal/ saves frame lock, editing status, text drawing, image loading and interfaceless testing tools, and cannot be directly referenced by external applications.