Skip to main content

Web components

Web components are the UI building blocks that you use to display data and trigger API functions. These components are native UI elements that follow Shopify's design system and render optimized interfaces for workflows in customer accounts.

Your target determines which components you can use because different locations in the customer account have different interface requirements and constraints.

Constraints

You can't override the CSS for UI components. The customer account UI will always render the merchant's own branding. Customer account UI extensions don't have access to the real customer account DOM and can't render arbitrary HTML. They can only render custom HTML elements provided by Shopify.


Anchor to Upgrading your extensionUpgrading your extension

The latest version of customer account UI extensions adds new components and target APIs, and replaces checkout metafields with order metafields. Check out the migration guide for the steps to upgrade your extension.

Actions enable users to perform tasks and navigate through the customer account interface with interactive elements like buttons and links.

Anchor to Feedback and status indicatorsFeedback and status indicators

Feedback and status indicators communicate system states, progress, and important information to users.

Forms capture and validate user input with specialized field types optimized for different data collection needs in the customer account.

Anchor to Layout and structureLayout and structure

Layout and structure components organize content hierarchically and spatially, creating clear visual relationships in customer account interfaces.

Media and visuals display images, icons, and graphical elements that enhance comprehension and visual communication in the customer account.

Overlays present content in floating or layered surfaces that appear above the main interface, useful for focused tasks, contextual information, and supplementary content.

Anchor to Typography and contentTypography and content

Typography and content components present textual information with appropriate hierarchy, emphasis, and styling for clear communication.


Was this page helpful?