Skip to main content

Polaris web components

Forms

CheckboxCheckbox

Checkbox

Give users a clear way to make selections, such as agreeing to terms or choosing multiple items from a list.

ChoiceListChoiceList

ChoiceList

Present multiple options to users, allowing either single selections with radio buttons or multiple selections with checkboxes.

ColorFieldColorField

ColorField

Allow users to select a color with a color picker or as a text input.

ColorPickerColorPicker

ColorPicker

Allow users to select a color from a color palette.

DateFieldDateField

DateField

Allow users to select a specific date with a date picker.

DatePickerDatePicker

DatePicker

Allow users to select a specific date or date range.

EmailFieldEmailField

EmailField

Let users enter email addresses with optimized keyboard settings.

FormForm

Form

Wraps one or more form controls and enables implicit submission, letting users submit the form from any input by pressing “Enter.” Unlike the HTML form element, this component doesn’t automatically submit data via HTTP.

FunctionSettingsFunctionSettings

FunctionSettings

FunctionSettings should be used when configuring the metafield configuration of a Shopify Function.

MoneyFieldMoneyField

MoneyField

Collect monetary values from users with built-in currency formatting and validation.

NumberFieldNumberField

NumberField

Collect numerical values from users with optimized keyboard settings and built-in validation.

PasswordFieldPasswordField

PasswordField

Securely collect sensitive information from users.

SearchFieldSearchField

SearchField

Let users enter search terms or find specific items using a single-line input field.

SelectSelect

Select

Allow users to pick one option from a menu.

SwitchSwitch

Switch

Give users a clear way to toggle options on or off.

TextAreaTextArea

TextArea

Collect longer text content from users with a multi-line input that expands automatically.

TextFieldTextField

TextField

Lets users enter or edit text within a single-line input.

URLFieldURLField

URLField

Collect URLs from users with built-in formatting and validation.