functora-egui 0.2.0

shadcn/ui-inspired widget library for egui - buttons, inputs, selects, dialogs, and 70+ more components with light/dark theming
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Toggle variant enum.

/// Visual variants for the Toggle widget.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub enum ToggleVariant {
    /// Default toggle style.
    #[default]
    Default,
    /// Outlined toggle with border.
    Outline,
}