15 releases (8 breaking)

new 0.9.0 Jul 14, 2025
0.7.3 Jun 19, 2025
0.7.0 Mar 24, 2025
0.3.3 Dec 22, 2024
0.3.1 Nov 8, 2024

#568 in GUI

Download history 234/week @ 2025-03-23 22/week @ 2025-03-30 2/week @ 2025-04-06 4/week @ 2025-04-13 7/week @ 2025-04-20 5/week @ 2025-04-27 22/week @ 2025-05-04 71/week @ 2025-05-11 152/week @ 2025-05-18 66/week @ 2025-05-25 14/week @ 2025-06-01 198/week @ 2025-06-08 160/week @ 2025-06-15 100/week @ 2025-06-22 58/week @ 2025-06-29 206/week @ 2025-07-06

528 downloads per month

Apache-2.0

1MB
410 lines

egui Double Slider Widget

crates.io Docs Rust

A double slider widget for the GUI rust library egui.

screenshot dark screenshot light

Add double slider along with eframe to your cargo.toml.

eframe = "0.31"
egui_double_slider = "0.9.0"

To run the example:

cargo run --example example

Example code:

use egui;
use egui_double_slider::DoubleSlider;

fn main() {
    egui::__run_test_ui(|ui| {
        ui.add(
            DoubleSlider::new(
                &mut self.slider_val_low_1,
                &mut self.slider_val_high_1,
                10.0..=300.0,
            )
                .width(width)
                .separation_distance(10.0),
        );
    });
}

Dependencies

~5–9.5MB
~96K SLoC