Resource Item
Use to represent a specific object within a collection, that a customer can take action on. For example, a list of active subscriptions or redeemable offers, in a style consistent with the order index page.
Anchor to resourceitempropsResourceItemProps
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 action grouping for the item, provided as buttons.
Accessibility label for the action grouping. If an accessibility label is not provided, default text is used.
Label for the action grouping. If a label is not provided, default text is used.
Indicates that the item is in a loading state.
When true
, the item shows loading indicators for the UI elements that it is owns. The item is not responsible for the loading indicators of any content that is passed as children
.
Callback when pressed. If to
is set, it will execute the callback and then navigate to the location specified by to
.
Destination to navigate to. You must provide either this property, , or both.
Supported props for Buttons used inside ResourceItem action
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.
The type of button that will be rendered. The visual presentation of the button type is controlled by merchants through the Branding API.
primary
: button used for main actions. For example: "Continue to next step".
secondary
: button used for secondary actions not blocking user progress. For example: "Download Shop app".
plain
: renders a button that visually looks like a link.
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.
An overlay component to render when the user interacts with the component.
Destination URL to link to.
ResourceItem
Preview

Anchor to best-practicesBest Practices
- Group related information.
- Structure your content so it’s easy for customers to scan to the most important information.
- Use images to complement text content.
- If there is a single primary action for the object, display it as a primary button. Display other object-level actions as secondary buttons.
- See UX guidelines to learn more about the button logic for order actions.