Input widgets

Input widgets let people change a value or trigger an action.
The important boundary is the proposed change. A control dispatches an action; the reducer decides whether that change is valid and updates the authoritative state or requests an effect. Rendering a checked value, a range, or a disabled button is not a substitute for validating the corresponding transition.

Choosing among input widgets

Use the simplest control that fits the choice.
Use a button for an action, a checkbox or switch for a yes-or-no choice, a slider for a continuous value, and a text input for free-form editing. Use a select or segmented control when the options are known. Use a combobox when people need to type and choose from suggestions.
When the interaction becomes more specialized, move to lower-level gesture, drag, or editing helpers.

Core action and value controls

Widget
Dedicated page
When to choose it
Button
One explicit action such as save, submit, open, or close
ButtonVariant
Supporting type for button style choice
ButtonContentAlign
Supporting type for button content alignment
Pressable
Neutral accessible interaction surface for custom controls
Checkbox
Boolean choice with visible checked state
Radio
One selection inside a known group
Switch
Boolean choice that reads like on or off state
Slider
Continuous single numeric value
RangeSlider
Continuous lower and upper bound selection
SegmentedControl
A small set of exclusive options presented side by side

Text and form entry widgets

Widget
Dedicated page
When to choose it
TextInput
Free-form text entry
NumberInput
Numeric entry with dedicated affordances
FormControl
Label, helper, or validation wrapper around a field
Editable
Lower-level editable content surface
These widgets are the ones most closely tied to the runtime's input, clipboard, and input method editor model.

Choice and picker widgets

Widget
Dedicated page
When to choose it
Select
Closed choice list with a dedicated picker surface
SelectItem
Supporting item type for Select
Combobox
Typing plus filtered suggestion selection
DropDown
Trigger for a separately owned popup; does not render options
DatePicker
Date choice
DateRangePicker
Start and end date choice
TimePicker
Time-of-day choice

Gesture, drag, and file-oriented input

Widget
Dedicated page
When to choose it
GestureDetector
A widget needs direct gesture callbacks
Draggable
A region should act as a drag source
DragTarget
A region should accept drops
Dropzone
File or payload drops need a dedicated area
FileUpload
File selection and upload flow wrapper

Practical cross-reference

If the hard part is no longer which control to choose but how input is normalized, how locale or theme reaches the widget tree, or how the clipboard and input method editor flow work, continue to Environment, input, and input method editor. For the user-facing guide, see Input, text, and environment.