Skip to main content

Module controls

Module controls 

Source
Expand description

Interactive controls that emit caller-owned actions.

Modulesยง

auth
Sensitive text controls for product-neutral authentication composition.
button
cascader
A hierarchical choice whose data and accepted value remain caller-owned.
combobox
A select you can type into.
copy_button
Copying caller-supplied text, and saying truthfully whether it worked.
dropzone
An area that accepts something dropped on it from outside itself.
field
Field chrome.
filter_bar
The conditions a list is currently filtered by, as chips that can be taken off again.
form_field
The label, description, and error a control wears.
inline_edit
Text that becomes a field when it is asked to.
input
A single-line editable text control.
keybinding_recorder
A field that captures the next keystroke instead of acting on it.
keymap_editor
Caller-owned keymap facts with transient, shared shortcut recording.
number_input
A numeric field with a step control.
search
Find, and find and replace, over text this crate does not hold.
segmented
A single choice presented as a strip of adjacent segments.
select
A control for choosing one of a known set of options.
settings_row
The row every preferences page is made of, and the section it sits in.
slider
A control for choosing a number inside a known range.
split_button
A default action with a menu of alternatives beside it.
tag_input
Tokenised entry: the tags a typist has assembled, and a field to add one.
textarea
A multi-line editable text control.
toggle
Controls that report a choice: checkbox, radio, and switch.
toggle_button
Buttons that stay in: one on its own, and a run of them.
upload_list
Files on their way somewhere, over the Dropzone that took them.