slots
App slots, app zones and host widget names.
On this page
import { … } from '@poltura/theme-sdk/slots';
| Name | What it is |
|---|
AppSlot | An anchor that draws the theme's content, then every active app's widget for the slot; nothing when both are empty. |
AppZone | The app blocks the merchant placed in the header or footer zone, in their order. |
| Name | What it is |
|---|
AppSlotName | A named anchor where installed apps append their widgets, such as footer.help. |
AppSlotProps | Props of AppSlot. |
AppZoneName | A page-wide band apps fill with blocks the merchant places: above the header or below the footer. |
AppZoneProps | Props of AppZone. |
HostSlotName | A widget the host draws and a theme can place but never replace, such as the payment methods. |
Last updated