egui 0.1.2
egui: ^0.1.2 copied to clipboard
Flutter widget kit mirroring Rust egui's compact immediate-mode UI style. Dark-mode-first, zero Material widgets, Catppuccin palettes built in.
Changelog #
0.1.2 #
Added #
- Added resizable
EguiWindowsupport for bounded embedded views such as canvases, node editors, timelines, and custom tool panels.
0.1.0 #
Initial release.
Widgets #
EguiButton— push button with toggled/active state and theme-aware accent textEguiSlider— drag-to-change slider with label and formatted value labelEguiDragValue— inline number field; drag to scrub, tap to enter a valueEguiNumberInput— integer spinner with explicit minus/plus buttonsEguiVec2/EguiVec3— paired drag-value cells for 2D and 3D vectorsEguiProgressBar— read-only fill bar with optional centered value labelEguiSparkline— mini line chart with fill, dot at latest value, and value labelEguiPlot/EguiSeries— XY line chart with grid, tick labels, and legendEguiCheckbox— compact checkboxEguiToggle— animated sliding on/off switchEguiRadio/EguiRadioGroup— single-select radio buttonsEguiCombo— compact dropdown with prev/next cycle arrowsEguiTextField— single-line text input with hint and labelEguiColorPicker— expandable HSV color picker with optional alpha channelEguiLabel— plain text label and key/value row variantEguiSeparator— horizontal rule with optional inline labelEguiSection— collapsible group with chevron heading and separator lineEguiTree/EguiTreeNode— collapsible hierarchy rowsEguiTable— headered table with selectable rowsEguiScrollArea— egui-styled scroll area with thin scrollbarEguiTabBar— compact tab strip with content panelsEguiPane— collapsible titled panel with animated body, for use insideEguiColumnEguiColumn— draggable inspector column; stacks panes vertically, scrolls when tallEguiWindow— standalone draggable/collapsible floating windowEguiPanel— bare floating panel (background, border, shadow — no title bar)EguiDockLayoutplusEguiTopPanel,EguiBottomPanel,EguiLeftPanel, andEguiRightPanel— resizable docked editor layoutEguiStatusText— single-line status/info barEguiThemeChooser— built-in palette picker widget
Theming #
EguiPalettewith four built-in Catppuccin palettes: Mocha, Macchiato, Frappé, LatteEguiScopeinherited widget — propagates the active palette to all descendantswithFont(family, {fontSize})— copy a palette with a different font at runtimeshadowsfield — disable drop shadows globally for a flat lookaccentText/onAccent— theme-aware text color for content on top of the accent fill- Derived sizing:
rowHeight,checkSizescale withfontSize leadingDistribution: TextLeadingDistribution.evenfor consistent vertical alignment across fonts
Fonts #
- ProggyVector Regular bundled as family
'Proggy'