| Category | Components | Reference |
|---|---|---|
| Layout |
ShPage
,
ShBox
,
ShStack
,
ShGrid
,
ShGridItem
,
ShSection
,
ShDivider
|
Layout |
| Actions |
ShButton
,
ShButtonGroup
,
ShClickable
,
ShLink
|
Actions |
| Forms |
ShTextField
,
ShNumberField
,
ShEmailField
,
ShPasswordField
,
ShUrlField
,
ShMoneyField
,
ShColorField
,
ShDateField
,
ShTextArea
,
ShSelect
,
ShCheckbox
,
ShSwitch
,
ShChoiceList
,
ShChoice
,
ShSearchField
,
ShDropZone
,
ShColorPicker
,
ShDatePicker
|
Forms |
| Feedback |
ShBanner
,
ShBadge
,
ShSpinner
,
ShTooltip
,
ShEmptyState
,
ShProgress
|
Feedback |
| Navigation |
ShAppNav
,
ShMenu
,
ShOption
,
ShOptionGroup
,
ShPopover
|
Navigation |
| Data |
ShTable
,
ShTableHeader
,
ShTableHeaderRow
,
ShTableBody
,
ShTableRow
,
ShTableCell
|
Data |
| Content |
ShText
,
ShNumber
,
ShHeading
,
ShParagraph
,
ShIcon
,
ShImage
,
ShThumbnail
,
ShAvatar
,
ShChip
,
ShClickableChip
,
ShListItem
,
ShOrderedList
,
ShUnorderedList
|
Content |
| Overlays |
ShModal
,
ShQueryContainer
|
Overlays |
| App Bridge UI |
ShUiModal
,
ShUiTitleBar
,
ShUiSaveBar
,
ShUiNavMenu
|
App Bridge UI |
Polaris (
Sh*
)
|
App Bridge (
ShUi*
)
|
|
|---|---|---|
| HTML elements |
,
, etc.
|
,
, etc.
|
| Renders in | Your app's iframe | Shopify Admin (outside the iframe) |
| Use for | In-app UI: forms, tables, buttons, layout | Admin-level chrome: page title, modals overlaying the admin, save bar, navigation |
| Controlled via |
Props, slots,
command
/
commandFor
|
useAppBridge()
API (
shopify.modal.show(id)
, etc.)
|
| API | Description | Docs |
|---|---|---|
shopify.modal
|
Show, hide, and toggle modals by ID | Modal API |
shopify.saveBar
|
Show, hide, toggle save bars and prompt leave confirmation | Save Bar API |
shopify.toast.show(message)
|
Show toast notifications | Toast API |
shopify.loading.show()
/
.hide()
|
Control the admin loading bar | Loading API |
shopify.resourcePicker()
|
Open product/collection/variant pickers | Resource Picker API |
shopify.intents.navigate()
|
Launch native Shopify admin workflows | Intents API |
| Prop | Type | Default | Description |
|---|---|---|---|
variant
|
'auto' | 'primary' | 'secondary' | 'tertiary'
|
— | Button visual style |
tone
|
'auto' | 'critical' | 'neutral'
|
— | Color tone |
disabled
|
boolean
|
— | Disables the button |
loading
|
boolean
|
— | Shows a loading spinner |
icon
|
PolarisIcon
|
— | Icon to display |
href
|
string
|
— | Makes the button a link |
target
|
'auto' | '_blank' | '_self' | '_parent' | '_top' | string
|
— | Link target |
download
|
string
|
— | Download attribute for link buttons |
type
|
'button' | 'reset' | 'submit'
|
— | Button type attribute |
accessibilityLabel
|
string
|
— | Accessible label |
command
|
'--auto' | '--show' | '--hide' | '--toggle'
|
— | Command for invoketarget pattern |
commandFor
|
string
|
— | Target element ID for command |
interestFor
|
string
|
— | Target element ID for interest |
| Event | Payload | Description |
|---|---|---|
click
|
MouseEvent
|
Emitted on button click |
focus
|
FocusEvent
|
Emitted on focus |
blur
|
FocusEvent
|
Emitted on blur |
| Slot | Description |
|---|---|
default
|
Button label |
| Prop | Type | Default | Description |
|---|---|---|---|
gap
|
'base' | 'none'
|
— | Gap between buttons |
accessibilityLabel
|
string
|
— | Accessible label |
| Slot | Description |
|---|---|
default
|
Button children |
| Prop | Type | Default | Description |
|---|---|---|---|
disabled
|
boolean
|
— | Disables the clickable |
loading
|
boolean
|
— | Shows loading state |
href
|
string
|
— | Makes the element a link |
target
|
'auto' | '_blank' | '_self' | '_parent' | '_top' | string
|
— | Link target |
download
|
string
|
— | Download attribute |
type
|
'button' | 'reset' | 'submit'
|
— | Button type |
command
|
'--auto' | '--show' | '--hide' | '--toggle'
|
— | Command for invoketarget pattern |
commandFor
|
string
|
— | Target element ID for command |
interestFor
|
string
|
— | Target element ID for interest |
| Slot | Description |
|---|---|
default
|
Clickable content |
| Prop | Type | Default | Description |
|---|---|---|---|
tone
|
'auto' | 'critical' | 'neutral'
|
— | Color tone |
href
|
string
|
— | Link destination |
target
|
'auto' | '_blank' | '_self' | '_parent' | '_top' | string
|
— | Link target |
download
|
string
|
— | Download attribute |
lang
|
string
|
— | Language attribute |
accessibilityLabel
|
string
|
— | Accessible label |
command
|
'--auto' | '--show' | '--hide' | '--toggle'
|
— | Command for invoketarget pattern |
commandFor
|
string
|
— | Target element ID for command |
interestFor
|
string
|
— | Target element ID for interest |
| Slot | Description |
|---|---|
default
|
Link content |
This content renders outside the iframe.
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
id
|
string
|
Yes | — | Unique identifier |
variant
|
'small' | 'base' | 'large' | 'max'
|
No |
'base'
|
Modal size |
src
|
string
|
No | — | URL to load in an iframe inside the modal |
| Event | Payload | Description |
|---|---|---|
show
|
Event
|
Emitted when the modal opens |
hide
|
Event
|
Emitted when the modal closes |
| Slot | Description |
|---|---|
default
|
Modal body content |
title-bar
|
for modal header
|
save-bar
|
for modal actions
|
| Method | Description |
|---|---|
shopify.modal.show(id)
|
Shows the modal |
shopify.modal.hide(id)
|
Hides the modal |
shopify.modal.toggle(id)
|
Toggles modal visibility |
| Slot | Description |
|---|---|
default
|
link elements (use
rel="home"
for the home link)
|
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
id
|
string
|
Yes | — | Unique identifier |
discardConfirmation
|
boolean
|
No | — | Show confirmation dialog on discard |
primaryAction
|
SaveBarAction
|
No | — | Primary (save) button |
secondaryAction
|
SaveBarAction
|
No | — | Secondary (discard) button |
| Event | Payload | Description |
|---|---|---|
show
|
Event
|
Emitted when the save bar appears |
hide
|
Event
|
Emitted when the save bar is dismissed |
| Method | Description |
|---|---|
shopify.saveBar.show(id)
|
Shows the save bar |
shopify.saveBar.hide(id)
|
Hides the save bar |
shopify.saveBar.toggle(id)
|
Toggles save bar visibility |
shopify.saveBar.leaveConfirmation()
|
Prompts confirmation before leaving with unsaved changes |
| Prop | Type | Default | Description |
|---|---|---|---|
title
|
string
|
— | Title displayed in the Admin bar |
primaryAction
|
TitleBarAction
|
— | Primary action button (highlighted) |
breadcrumb
|
Omit
|
— | Back button / breadcrumb |
actions
|
TitleBarAction[]
|
— | Additional action buttons |