Expand description
Button Group Component (shadcn/ui style)
Groups buttons with connected borders, removing redundant inner borders between adjacent buttons.
use armas_basic::prelude::*;
ButtonGroup::new("actions").show(ui, |ui| {
Button::new("Bold").variant(ButtonVariant::Outline).show(ui);
Button::new("Italic").variant(ButtonVariant::Outline).show(ui);
Button::new("Underline").variant(ButtonVariant::Outline).show(ui);
});Structs§
- Button
Group - Button Group — groups buttons with connected borders.
- Button
Group Response - Response from a button group.
Enums§
- Button
Group Orientation - Button group orientation.