Customer Account Action
A modal to complete an order action flow. This component can only be used to populate the customer-account.order.action.render extension target, which renders as a result of the customer clicking the order action button rendered via the customer-account.order.action.menu-item.render extension target.
Anchor to customeraccountactionpropsCustomerAccountActionProps
Sets the title of the Action container.
Sets the Primary action button of the container. This component must be a button component.
Sets the Secondary action button of the container. This component must be a button component.
Supported props for Buttons used inside CustomerAccountAction prop.
children
only support text.
A label used for buyers using assistive technologies. When set, any children
supplied to this component will not be announced to screen reader users.
The role of the button that will be rendered.
button
: renders a regular button.
submit
: renders a button that submits a form.
Disables the button, disallowing any interaction.
Replaces content with a loading indicator.
Accessible label for the loading indicator when user prefers reduced motion. This value is only used if loading
is true.
Callback that is run when the button is pressed.
Supported props for Button used inside CustomerAccountAction prop.
children
only support text.
A label used for buyers using assistive technologies. When set, any children
supplied to this component will not be announced to screen reader users.
Disables the button, disallowing any interaction.
Replaces content with a loading indicator.
Accessible label for the loading indicator when user prefers reduced motion. This value is only used if loading
is true.
Callback that is run when the button is pressed.
Basic CustomerAccountAction
Preview

Anchor to best-practicesBest Practices
- Use CustomerAccountAction to shift focus toward information and functionality needed to confirm or complete an order action.
- If the order action experience you’re building requires complex forms or large amounts of information, consider building a full-page extension instead.
- See Polaris for more best practices and content guidelines for designing Modals.