Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Selecting the right imput

Choosing the right input type reduces effort, prevents errors, and keeps the form easy to scan. Use the sections below to match what the user needs to enter with the input option that supports it best.

Free-form input

Use free-form inputs when users need to type information that cannot be reliably selected from a predefined list. Pick the option that matches how much text is needed, whether it must be localized, and whether the value should be restricted to numeric entry.

ComponentRequirementWhy this is the better fitTypical examples
InputShort, single-line textKeeps the layout compact and scannable for quick entries.Name, email address, reference ID
TextareaLonger text with line breaksGives users space to write and edit comfortably without feeling constrained.Comment, description, feedback
Translation InputShort text in multiple languagesAdds language selection so the same value can be maintained per locale.UI label, short user-facing string, error message title
Translation TextareaLonger text in multiple languagesSupports multi-line localized content with language selection for each locale.Instructions, long descriptions, terms text
Number InputNumeric values (with constraints/formatting)Prevents invalid characters and supports numeric formatting/validation.Price, quantity, measurement

Selection

Use selection controls when users should choose from predefined options instead of typing. The right control depends on whether the choice is binary, single, or multiple, and on how large or complex the option set is.

ComponentRequirementWhy this is the better fitTypical examples
CheckboxA single binary choice (yes/no) where a checkbox fits the contextClear for confirmations and acknowledgements; supports default, read-only, and disabled states.“I agree”, “I have read…”, “Include archived items”
Toggle SwitchA simple on/off settingStrong visual feedback for enabled/disabled states; feels like a setting control.Enable notifications, Activate feature, Turn on auto-sync
Radio GroupExactly one choice from a small set where options should stay visibleMakes mutually exclusive choices easy to compare without opening a menu.Shipping method, Payment type, Priority level
Single SelectExactly one choice from a list (options can be hidden in a dropdown)Saves space while still allowing a clear single selection; can be static or API-backed.Category, Status, Role
Multi SelectMultiple choices from a listSupports selecting several values in one field; can be static or API-backed.Tags, Categories, Related items
ComboboxExactly one choice from a large or dynamic list where search helpsAdds search and pagination so users can find options quickly in long lists.Assign user from directory, Select asset from inventory, Pick customer
Lookup InputSelecting from a very large dataset where a dropdown is impracticalOpens a searchable dialog with a data grid, making big datasets manageable.Select equipment, Choose part number, Pick location from thousands
Table SelectionSelecting from large/complex records where a table view is clearerCombines a field with a data grid; better when users need to compare columns before selecting.Choose an order, Select an incident record, Pick a person with metadata

Date and Time

Use date and time inputs whenever users enter time-based values, because pickers prevent formatting errors and reduce cognitive load. Choose between a single point in time and a full period depending on whether one date or a start–end range is required.

ComponentRequirementWhy this is the better fitTypical examples
Date PickerOne date (optionally with a time)Keeps the interaction simple and fast for single-point-in-time values.Due date, Appointment date/time, Start date
Date Range PickerA start and end date (optionally with time)Captures a complete period in one control and prevents inconsistent ranges.Reporting period, Booking range, Filter “from–to” timeframe

Files

Use file inputs when attachments are part of the submission. Choose a simple uploader for small numbers of files, and a table-based approach when users need an overview, actions, or management of multiple attachments.

ComponentRequirementWhy this is the better fitTypical examples
File UploadUploading one or a few files as part of a formSimple upload flow with configurable restrictions and behavior.Attach document, Upload image, Add single attachment
Files TableManaging multiple files with overview and actionsTable view improves scanning and control; supports upload, deletion, custom actions, and pagination.Evidence set, Multiple attachments, Document bundle management

Scanning

Use scanning inputs when data is best captured through RFID or visual codes rather than manual entry. Scanning is ideal for workflows where speed and accuracy matter and a scan-first experience reduces mistakes.

ComponentRequirementWhy this is the better fitTypical examples
RFID ScannerCapturing RFID tag values (scan-first, with manual fallback)Fast and reliable for RFID workflows; supports validation, events, defaults, and manual entry.Asset tagging, Equipment identification, Warehouse tracking
Visual Codes ScannerCapturing QR codes, barcodes, or other visual codes (scan-first, with manual fallback)Uses the device camera for quick capture; ideal for common barcode/QR scenarios.Inventory scanning, Event check-in, Product verification