Input and Textarea
input / textarea, plus:
Textarea defaults to rows={4}. Both forward refs.
Field
Adds a label, hint and error to any control.SearchInput
Checkbox, Switch, RadioGroup
onChange receives the value directly, not an event.
SegmentedControl
options, value, onChange and haptic? (default true).
Select
Built on the nativeselect, so on mobile it opens the operating system’s picker, which is what users expect in an app. For a fully custom menu, use Menu.
options: { value, label, disabled? }[], value, onChange(value), placeholder?, label?, hint?, error?, plus native select attributes.
Slider
DatePicker
Native date and time inputs, so mobile users get the OS calendar.FilePicker
A drop zone that also opens the file dialog on click.A custom trigger that replaces the drop zone. Drag and drop is only on the default drop zone.
uploadImage.