docs.rs failed to build egui-material3-0.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
egui-material3-0.0.7
egui-material3
A Material Design component library for egui, providing Material Design 3 components with theme support.
Screenshots
Usage
Add this to your Cargo.toml:
Basic Example
use egui;
use ;
Theme Support
The library supports Material Design 3 themes with:
- Build-time theme inclusion: Themes are automatically included from JSON files during compilation
- Runtime theme loading: Load custom themes from files at runtime
- Multiple theme modes: Light, Dark, and Auto modes
- Contrast levels: Normal, Medium, and High contrast support
- Dynamic updates: Change themes and see updates immediately
Available Components
- MaterialButton - Material Design buttons with multiple variants
- MaterialCheckbox - Checkboxes with Material Design styling
- MaterialSlider - Sliders following Material Design guidelines
- MaterialSwitch - Toggle switches
- MaterialRadio - Radio buttons
- MaterialSelect - Dropdown selects
- MaterialChip - Filter and action chips
- MaterialCard - Material Design cards
- MaterialDialog - Modal dialogs
- MaterialFab - Floating Action Buttons
- MaterialProgress - Progress indicators
- MaterialIcon - Material Design icons
- MaterialTabs - Tab navigation
- MaterialDrawer - Navigation drawers
- MaterialTopAppBar - App bars
- MaterialDataTable - Data tables with sorting and selection
Examples
Look at the examples/ folder for complete examples:
widget_gallery_example.rs- Showcase of all Material componentsnobel_prizes_example.rs- Real-world data table example