A segmented toggle/tab widget for iced, supporting single or multiple selection.
use iced_ntoggle::{Ntoggle, Selection};
Ntoggle::text(["One", "Two", "Three"], Selection::single(0), Message::Toggled)
.unwrap()
.into_element();See examples/ for runnable demos (demo, themed, square_borders):
cargo run --example demo- Single or multi selection (with an optional max selection count)
- Build segments from text, glyphs/icons, or arbitrary
Elements - Customizable styling via the
Catalog/StyleAPI
No license specified.
