How laststudio/fluent-egui works
fluent-egui is a WinUI-inspired presentation library for egui/eframe. Application code builds a UI with FluentUi and reusable controls; those controls render themed content and return egui interactions to the caller. Its major branches include layout and composition, commands and collections, specialized platform-style surfaces, motion/backdrops, and icon support. The map focuses on runtime library modules; README-documented startup and platform capabilities are represented, but their source wiring was not sampled.
Main entry points: theme.rs Theme and palette · widgets.rs Core widgets · easy.rs Fluent composition · commands.rs Commands and navigation
Components 22
Composition and theme
- Fluent composition
src/winui/easy.rs - Layout builders
src/winui/layout.rs - Theme and palette
src/winui/theme.rs - Design ramps
src/winui/design.rs - Gallery composition
src/winui/gallery.rs - Gallery settings
src/winui/gallery_settings.rs
Controls and commands
- Core widgets
src/winui/widgets.rs - Text controls
src/winui/text.rs - Commands and navigation
src/winui/commands.rs - Collections
src/winui/collections.rs - Extended controls
src/winui/extended.rs - Date and time
src/winui/date_time.rs
Specialized surfaces
- Platform surfaces
src/winui/platform.rs - Color guidance
src/winui/guidance.rs
Runtime presentation
- Icon definitions
src/winui/icons.rs - Icon catalog
src/winui/icon_catalog.rs - Motion effects
src/winui/motion.rs - Window backdrops
src/winui/backdrop.rs - Native and web startup
src/winui/shell.rs
Other components
- Application UI
- Windows adapters
- egui/eframe
Connections 22
- Application UI → Fluent composition: composes UI
README.md - Fluent composition → Core widgets: renders controls
README.md - Fluent composition → Layout builders: composes layouts
README.md - Application UI → Theme and palette: configures theme
README.md - Gallery composition → Gallery settings: uses settings
- Core widgets → Theme and palette: reads palette
src/winui/widgets.rs - Text controls → Theme and palette: reads palette
src/winui/text.rs - Commands and navigation → Theme and palette: reads palette
src/winui/commands.rs - Collections → Theme and palette: reads palette
src/winui/collections.rs - Extended controls → Theme and palette: reads palette
src/winui/extended.rs - Date and time → Theme and palette: reads palette
src/winui/date_time.rs - Platform surfaces → Theme and palette: reads palette
src/winui/platform.rs - Color guidance → Theme and palette: uses palette
src/winui/guidance.rs - Core widgets → Icon definitions: uses glyphs
- Commands and navigation → Core widgets: uses buttons
src/winui/commands.rs - Collections → Core widgets: uses controls
src/winui/collections.rs - Platform surfaces → Core widgets: uses controls
src/winui/platform.rs - Native and web startup → Theme and palette: installs theme
- Native and web startup → egui/eframe: starts runner
- Window backdrops → Windows adapters: requests materials
README.md - Icon catalog → Icon definitions: catalogs icons
- Motion effects → egui/eframe: provides effects
README.md