Floem
A Rust library for building desktop user interfaces using signals for state updates, Flexbox and Grid layout, and GPU or CPU rendering
It takes care to curate a safe software space. Help us do more.
&
| + | Signal Reactivity | Builds interface state on reactive signals that update only the views depending on them, keeping the UI in sync with minimal code and overhead. |
|---|---|---|
| + | Single-Pass View Tree | Constructs the view tree once instead of on every state change, preventing view-generation functions from becoming a performance bottleneck. |
| + | Multiple Renderers | Renders through wgpu (via vger or vello) or a Skia backend, with a tiny-skia CPU fallback, so applications still draw on machines without a usable GPU. |
| + | Flexbox and Grid | Applies Taffy-based Flexbox and Grid layout to any view node, allowing web-style arrangement of interface elements. |
| + | Style System | Customizes widget appearance and behavior through a styling API with classes and installable third-party themes, allowing consistent theming across an application. |
| + | Transitions and Animations | Animates interpolable style properties with transitions, keyframe animations, and spring easing, enabling interface motion declared alongside regular styles. |
| + | Element Inspector | Provides a diagnostic inspector modeled on browser developer tools, allowing developers to debug layout problems in a running application. |
| + | Virtual List | Offers a virtual list view for rendering long collections efficiently, helping applications stay responsive with large data sets. |
| + | Text Editor View | Includes an editor view with gutter toggling and keyboard navigation, allowing code or text editing components to be embedded in applications. |
...5 more features/limitations. Contact us to get a complete list of features and system requirements.
System Requirements
Not available, but we appreciate help! You can help us improve this page by contacting us.
Ratings
Not available, but we appreciate help! You can help us improve this page by contacting us.
Written in
Rust
Initial Release
2024-01-13
Alternatives
Notes
- Floem is a code library; applications are built by adding it as a Rust (Cargo) dependency, so no standalone installer exists.
- Version 0.2.0 is the latest published release; the project states it will make occasional breaking changes on the way to v1.
- Third-party add-ons exist, such as Floem UI Kit.