Skip to content

Forms

Forms are components designed to create and structure input masks, consisting of multiple input controls. They are configurable to fit various use cases and layouts.

Usage

A form is a set of related input controls that allow users to provide information.

Form

Best practices

  • Keep it short. Remove fields that collect redundant, untimely, or unnecessary information.
  • Ask for information in a logical sequence.
  • Visually group related fields.
  • Match fields to the type and size of the expected input.
  • When possible, use smart defaults and typeahead behavior.
  • Don’t rely on placeholders; include a short and meaningful label.
  • Distinguish optional and required fields. Required fields can be indicated using an asterisk.
  • Make action buttons task-specific

Except where otherwise noted, content on this site is licensed under MIT License.