UI components with responsive layouts and spring-based motion for Rust and egui.
Overview · Demo · Quick start · Documentation · Changelog · Contributing
Temivu helps developers build interfaces for egui applications with a consistent visual language and caller-owned state. Controls, navigation, overlays and data views share theme tokens and motion settings. The library can be integrated into existing egui layouts one widget at a time.
| Area | What the library provides |
|---|---|
| Controls | Buttons, switches, form inputs, selects, sliders, segments and progress indicators |
| Navigation | Floating bottom navigation, drawers, menus, tabs and shared-source page transitions |
| Overlays | Dialogs, sheets, popovers, tooltips and queued notifications |
| Data and media | Calendar and time controls, pagination, resizable panels and video player controls |
| Foundation | Monochrome and mint themes, touch sizing, localization and reduced-motion settings |
Temivu began as a Rust/egui port of Forui’s Dart/Flutter components. Most widgets now use Temivu’s own rendering, styling and motion. Remaining Forui-derived behavior is being replaced incrementally, and the Forui MIT notice remains included. The visual and motion design draws on shadcn/ui, SwiftUI and Apple’s iOS 26 Liquid Glass sessions, iOS 27 navigation design and Material 3 Expressive.
Open the interactive Showcase in a browser. Select Widgets, then Scrub spinner in Circular loading to inspect the dot swaps.
temivu_demo.mp4
Watch the demo · Download MP4 · Overview screenshot · Widget catalog screenshot · Dialog screenshot
The first recording walks through the widget catalog, overlays, data views and localization. The second demonstrates the video player’s timeline, playback speed and volume controls.
Rust 1.95 or later is required. Temivu uses egui 0.37.0. The library is available as source from GitHub Releases.
git clone https://github.com/kappyra/temivu.git
cd temivu
cargo run --locked --features demo --example showcaseDownload the Showcase from GitHub Releases. Development builds are also available under Artifacts in GitHub Actions when signed in. Linux and Windows previews target x86-64. The macOS previews are DMGs for Apple Silicon (arm64) and Intel (x86-64), built with a macOS 13 deployment target. Open the disk image and drag Temivu Showcase to Applications. The app uses an ad hoc signature. Apple notarization is pending, so Gatekeeper may block it.
The Android APK supports arm64 and x86-64 and uses a new debug signing key for each run. Uninstall an older preview before installing an APK signed with a different key.
The native Showcase needs a graphics session. On Linux, to play a local video, open Widgets → Media. Select Choose video…, or enter a local filename and select Open path or press Enter. The chooser uses Zenity on Linux. Playback requires system Python with PyGObject, GStreamer 1.0 and plugins for the chosen media format.
The library’s VideoPlayer accepts a texture and emits playback actions for the host’s media backend.
Use a Temivu component in any egui view:
use temivu::{Button, Switch, Theme};
fn settings(ui: &mut egui::Ui, theme: &Theme, notifications: &mut bool) -> bool {
Switch::new(notifications, theme)
.label("Notifications")
.show(ui);
Button::new("Save changes", theme).show(ui).clicked()
}Create a theme such as Theme::light() in the host, apply it to the egui context when the preference changes and keep application state between frames. Use stable widget IDs for stateful controls and transitions.
- Component inventory and coverage
- Navigation menus and responsive presentation
- Motion system and custom animation API
- Shared element transitions
- Droplet motion
- Optional glass surfaces
- Floating surfaces and responsive geometry
- Vesper interaction lighting
- Calendar API and keyboard behavior
- Accessibility and verification scope
- Changes since the first public version
The showcase recording was captured on Linux. The showcase can also be built for Android. Maintainers can publish the browser demo from main with the Showcase website workflow. The API is pre-1.0. The dependency advisory record tracks three open informational advisories in the optional Linux accessibility stack.
Temivu is distributed under the MIT License. The third-party notices preserve Forui attribution and the terms for bundled fonts and other assets. The first public release remains available as a source ZIP.