Skip to main content

Module ui_kit

Module ui_kit 

Source
Expand description

Reusable UI components for building chart interfaces.

Generic, domain-agnostic building blocks: buttons, toolbars, dialogs, forms, modals, etc. The chart-specific UI in the ui module composes these components with domain logic.

Re-exports§

pub use buttons::IconButton;
pub use buttons::SplitButton;
pub use color_picker::ColorPicker;
pub use color_picker::ColorPickerState;
pub use empty_state::EmptyState;
pub use form::FormGrid;
pub use frames::Card;
pub use loading::LoadingIndicator;
pub use panel_header::PanelHeader;
pub use toolbar::ResponsiveToolbar;

Modules§

alert
Alert Component
autocomplete
Autocomplete Widget
buttons
Icon buttons, split buttons and button styling helpers.
color_picker
Color picker popup
command_palette
Command Palette Component
dialog
Dialog chrome shared by every dialog in the crate.
empty_state
Empty state component: a centred message for lists and panels with no content.
ext
Extension traits for common egui controls and layouts.
filter
Filter Widget
form
Form layout components.
frames
Styled Panel Frames
list_item
List Item Module - Composable list items
loading
Loading indicator component: a spinner with an optional message.
modal
Modal System
notifications
Toast notifications with optional automatic dismissal.
panel_header
Panel title with right-aligned actions and a separator.
section
Section Component
sidebar_layout
Sidebar + content two-column layout using egui_extras::StripBuilder.
status_message
Status message display helpers.
tab_bar
Tab bar component with underline indicator.
toolbar
Horizontal and vertical toolbar layouts with grouped buttons.
trading_labels
Trading label widgets: PnlLabel and SideLabel.