Skip to main content

Components

Forms

CheckboxCheckbox

Checkbox

Use checkboxes to give customers a single binary option, such as signing up for marketing, or agreeing to terms and conditions.

ChoiceChoice

Choice

Options inside a ChoiceList.

ChoiceListChoiceList

ChoiceList

Use choice lists to present a list of choices where buyers can make a single selection or multiple selections.

ConsentCheckboxConsentCheckbox

ConsentCheckbox

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

ConsentPhoneFieldConsentPhoneField

ConsentPhoneField

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.

DateFieldDateField

DateField

Use a date field to get a date input from a customer.

DatePickerDatePicker

DatePicker

The DatePicker component is a calendar picker UI that allows users to select a single date or a date range

DropZoneDropZone

DropZone

DropZone allows file uploads through drag-and-drop functionality into a designated area on a page, or by activating a button.

FormForm

Form

The form component should be used to wrap one or more form controls.

PhoneFieldPhoneField

PhoneField

A PhoneField is an input field that merchants can type into optimized for phone numbers with a country code base auto-formatting.

SelectSelect

Select

Selects let buyers choose one option from an options menu.

StepperStepper

Stepper

Use a stepper to increase or decrease a value, like changing the quantity from 1 to 2.

SwitchSwitch

Switch

Use a switch to represent an on or off state that takes effect immediately when tapped.

TextFieldTextField

TextField

Use a text field to get text input from a customer.

ToggleButtonToggleButton

ToggleButton

Options inside a ToggleButtonGroup.

ToggleButtonGroupToggleButtonGroup

ToggleButtonGroup

ToggleButtonGroup allows you to make a single choice out of the number of options provided.