Button
<s-button>Triggers actions and declarative overlay commands with primary, secondary, tertiary, critical, icon, loading, and disabled states.
Official Shopify Polaris 2.0 web components rendered live from the CDN. Copy idiomatic React/TSX snippets directly with no wrapper packages.
<s-button>Triggers actions and declarative overlay commands with primary, secondary, tertiary, critical, icon, loading, and disabled states.
<s-menu>Groups contextual actions in a menu opened by a button.
<s-button-group>Keeps related actions together and identifies the primary action.
<s-clickable>Turns a custom layout into a single interactive target.
<s-clickable-chip>Displays an interactive label for a selection, tag, or filter.
<s-link>Adds text navigation to a related page or resource.
<s-page>Provides the heading, action slots, and content area for a Shopify App Home page.
<s-section>Groups related content under a heading and supports nested sections.
<s-stack>Arranges items in a row or column with consistent spacing and alignment.
<s-grid>Arranges content in rows and columns that can adapt to the available width.
<s-box>Adds spacing, backgrounds, and borders to a flexible container.
<s-divider>Draws a rule between related pieces of content.
<s-ordered-list>Presents steps or other items in a numbered sequence.
<s-query-container>Lets child layouts respond to the space available inside a container.
<s-unordered-list>Groups related items in a bulleted list.
<s-text-field>Collect single-line text with a visible label, field guidance, and inline validation.
<s-select>Choose one option from a list and use the current selection to filter results.
<s-checkbox>Collect a selection or confirmation with supporting text and an inline error.
<s-switch>Turn a setting on or off and reflect the change immediately.
<s-choice-list>Lets merchants choose one or several options from a named group.
<s-color-field>Accepts a color value through text input and a built-in picker.
<s-color-picker>Shows a color palette for choosing a hue and saturation.
<s-date-field>Accepts a calendar date in a form field.
<s-date-picker>Shows a calendar for choosing a date or a range.
<s-drop-zone>Accepts local files by drag and drop or through a file picker.
<s-email-field>Collects email addresses with email validation and keyboard support.
<s-money-field>Collects a monetary amount with currency-aware formatting.
<s-number-field>Collects a number with optional limits and stepper controls.
<s-password-field>Collects a password with masked input and autocomplete support.
<s-search-field>Collects a search query and supports clearing the field.
<s-text-area>Collects multiline text such as notes, comments, and descriptions.
<s-url-field>Collects website addresses with URL validation and keyboard support.
<s-banner>Communicate updates, confirmations, and issues that need a merchant’s attention.
<s-badge>Show a concise status for products, orders, and other records.
<s-modal>Focus the merchant on a confirmation, short form, or important detail.
<s-popover>Reveal related controls or quick actions next to the button that opens them.
<s-empty-state>Explains why a view is empty and points merchants to the next action.
<s-progress>Displays how much of a measurable task has been completed.
<s-spinner>Signals that content is loading or an action is in progress.
<s-avatar>Represents a person with a profile image or initials.
<s-icon>Displays a Polaris symbol alongside information or an action.
<s-image>Displays a full image with control over its aspect ratio and fit.
<s-thumbnail>Adds a compact image that helps identify an item in a list or table.
<s-chip>Displays a keyword or tag as a compact, static label.
<s-heading>Provides a semantic title that follows the surrounding section hierarchy.
<s-number>Presents numeric figures in tabular numerals so they align cleanly.
<s-paragraph>Displays a block of readable text with optional inline emphasis.
<s-text>Styles an inline phrase with emphasis, color, or a semantic tone.
<s-tooltip>Reveals short supplementary help when a trigger is hovered or focused.