-
released this
2026-10-02 19:51:39 +02:00 | 604 commits to main since this releaseforma-ui
- A retained widget tree with
WidgetIdhandles, editable in place
(remove,move_widget,set_style) or rebuilt from app state with
Ui::rebuild, which matches widgets by key or position and keeps their
state;key(..).memo(..)skips unchanged subtrees. - Layout with taffy (flexbox and grid) through a
Stylebuilder; lengths
are written at 1x and scaled to the display. - Text with cosmic-text: font registration, families and fallback, bundled
DejaVu fonts; text fields and areas with selection, undo and redo, input
masks, placeholders, IME composition, and code-editor features (gutter,
highlighting spans, decorations, find and replace, completion list, edit
profiles). Editing a long text reshapes only the changed lines. - Input in forma's own vocabulary, with a rebindable
Keymap, a
Clipboardtrait, keyboard focus on every control, popups and modal
dialogs. - Events,
Actionsfor turning them into app messages, andComponent
andCustomWidgetfor app-defined widgets. - Ready-made widgets: menus and context menus, menu bar, select, combo box,
dialog, radio group, number field, range slider, collapsible section,
toasts, progress and busy indicators, virtual list, tree view, table,
docking, tab bar, color picker. - Themes (palette, metrics, text defaults) with dark and light built in.
- Transitions, tweens and springs on a UI clock; the UI says when it needs
a frame, so an idle app does no work. - Accessibility through AccessKit (the
accesskitfeature): roles, names,
states, text with caret and selection, actions from assistive technology. forma::testing::Harnessand snapshot helpers for headless tests.
forma-wgpu
SurfaceRendererfor a window, andRendererfor drawing into an app's
own render pass on its device.- Rounded rectangles, borders, shadows, lines, a growing glyph atlas, SVG
icons, images by handle, clipping.
forma-winit
- Input translation from winit, cursor icons, input method placement, the
OS clipboard and AccessKit. run: a whole app from theApptrait, drawing only when needed.
Known limitations
See the README.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- A retained widget tree with