Skip to main content

Web components

Forms

CheckboxCheckbox

Checkbox

The checkbox component provides a clear way for users to make selections, such as agreeing to terms, enabling settings, or choosing multiple items from a list.

Choice listChoice list

Choice list

The choice list component presents multiple options for single or multiple selections.

Consent checkboxConsent checkbox

Consent checkbox

Use buyer consent checkboxes for collecting the buyer’s approval for a given policy.

Consent phone fieldConsent phone field

Consent phone field

Display a phone field for customers to sign up for text message marketing, noting that the phone field value will be automatically saved during checkout.

Date fieldDate field

Date field

The date field component captures date input with a consistent interface for date selection and proper validation.

Date pickerDate picker

Date picker

The date picker component allows merchants to select dates using a calendar interface.

Drop zoneDrop zone

Drop zone

The drop zone component lets users upload files through drag-and-drop or by clicking to browse.

Email fieldEmail field

Email field

The email field component captures email address input.

FormForm

Form

The form component wraps form controls and enables implicit submission, allowing users to submit from any input by pressing Enter.

Money fieldMoney field

Money field

The money field component collects monetary values from users with built-in currency formatting and validation.

Number fieldNumber field

Number field

The number field component captures numeric input with built-in number validation.

Password fieldPassword field

Password field

The password field component securely collects sensitive information from users.

Phone fieldPhone field

Phone field

Use PhoneField to allow users to enter phone numbers.

SelectSelect

Select

The select component allows users to choose one option from a dropdown menu.

SwitchSwitch

Switch

The switch component provides a clear way for users to toggle options or settings on and off.

Text areaText area

Text area

The text area component captures multi-line text input.

Text fieldText field

Text field

The text field component captures single-line text input.

URL fieldURL field

URL field

The URL field component collects URLs from users with built-in formatting and validation.