Forms - Overview
Text Input
Go to componentText Inputs are form fields for the user to type into.


Textarea
Go to componentTextarea fields are form elements used to collect multi-line, free-form text input data from the user. They are used in place of the Text Input when the value entered is expected to exceed one line.


Select
Go to componentThe Select component is used as part of a form where users can select an option from a list. Select is different to a dropdown component, which is used for filtering or sorting content as the action of making a selection has an immediate effect to the content on the page.
Select inputs are similar to the Radio component as both components let the user select only one option. If you have six or fewer options, it’s recommended to use the Radio component instead of the Select input, so the user can see all options up front.
The Select input saves screen estate, but requires the user to click to see all available options. It might also require the user to scroll to see all options, which should be avoided if possible on mobile.


Field
Go to componentThe Field component is a React-specific component, that is used to decorate Text Input, Textarea and Select components with a label, message and validation.

Control Field
Go to componentThe Control Field component holds a group of Checkboxes or Radios and adds information like legend, Validation message or an in-line message.


Checkbox
Go to componentCheckboxes are form elements used to display lists of options. Users may select any number of options, including zero, one or multiple.
Even though the Checkbox is its own component, we recommend using the Control Field instead because it offers a label, validation message, and in-line messaging.


Radio
Go to componentRadios are form elements used to display lists with two or more options that are mutually exclusive. The user can only select one Radio item per list.
Even though the Radio is its own component, we recommend using the Control Field instead because it offers a label, validation message, and in-line messaging.


Radio Card
Go to componentRadio Cards offer mutually exclusive options, providing more content than the Radio component.
Radio Cards are used for a configuration, where only one option has to be selected from a set. The set of Radio Cards should have a submit Button associated with it to confirm the selection.
Please note Radio Card is different from Product Card, which is used when the user is adding or removing a product.


Validation
Go to componentValidation is used across multiple components to allow for consistency of error or success messaging. It is setup as part of Control Field and Field (Text Input, Textarea and Select in Figma) and can be added to the Radio Card if required.

Planned components
Password Field
A Text Input field able to show/hide a password and indicate its strength.
Date Picker
A calendar view to choose available dates or time periods.
Swatch Button
A card to choose a colour swatch. This will use the Swatch component as a base.