Expand description
Basic controls: buttons, icon buttons, floating action buttons, checkboxes, inputs, radios, scroll areas, separators, sliders, switches, toggles and toggle groups, plus the touch helpers tappable and touch clicks.
Re-exports§
pub use button::Button;buttonpub use checkbox::CheckState;checkboxpub use checkbox::Checkbox;checkboxpub use checkbox::checkbox;checkboxpub use fab::Fab;fabpub use fab::fab;fabpub use icon_button::IconButton;icon-buttonpub use input::Input;inputpub use input::input;inputpub use radio::Radio;radiopub use radio::RadioGroup;radiopub use radio::radio;radiopub use radio::radio_group;radiopub use scroll_area::ScrollArea;scroll-areapub use scroll_area::scroll_area;scroll-areapub use separator::Separator;separatorpub use separator::separator;separatorpub use separator::vertical_separator;separatorpub use slider::Slider;sliderpub use slider::slider;sliderpub use switch::Switch;switchpub use switch::switch;switchpub use tappable::Tappable;tappablepub use tappable::tappable;tappablepub use toggle::Toggle;togglepub use toggle::toggle;togglepub use toggle_group::ToggleGroup;toggle-grouppub use toggle_group::toggle_group;toggle-grouppub use touch_clicks::TouchClicks;touch-clickspub use touch_clicks::touch_clicks;touch-clicks
Modules§
- button
button - Buttons with consistent variants, sizes and states.
- checkbox
checkbox - Checkboxes with checked, unchecked and indeterminate states.
- fab
fab - A floating action button: the one main action of a screen, drawn raised above the content.
- icon_
button icon-button - Square, icon-only buttons with a label and an optional pressed state.
- input
input - Single-line text inputs with an optional leading icon.
- radio
radio - Radio buttons for picking one option from a small set.
- scroll_
area scroll-area - Scrollable regions with a thin, rounded scrollbar.
- separator
separator - Thin lines that divide groups of content, optionally with inline text.
- slider
slider - Sliders for choosing a number within a range.
- switch
switch - On/off switches for settings that apply immediately.
- tappable
tappable - Makes any content respond to taps and long presses, by finger or mouse, without stopping a surrounding scrollable from scrolling.
- toggle
toggle - Two-state buttons that stay pressed while an option is on.
- toggle_
group toggle-group - A row of toggles where one, or several, can be on.
- touch_
clicks touch-clicks - Lets content that only reads the mouse, such as a text editor or rich text with links, respond to touch.