Pos Block
Creates a surface on the specified block extension target, serving as a container to place content with an action button.
Anchor to propertiesProperties
- Anchor to headingheadingstring
The heading to display within the POSBlock.
If not provided, the description of the extension will be used when a heading is appropriate.
- string
A unique identifier for the element.
Anchor to qr codeQR Code
Renders a QR code when the block is used within a Receipt target.
- Anchor to contentcontentstring
The content to be encoded in the QR code, which can be any string such as a URL, email address, plain text, etc. Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.
- string
A unique identifier for the element.
Anchor to slotsSlots
- Anchor to secondary-actionssecondary-actionsHTMLElement
The secondary actions to perform, provided as button or link type elements.
Code
Examples
Code
Default
<s-pos-block> <s-box paddingBlock="base"> <s-text>Customer Loyalty</s-text> </s-box> </s-pos-block>
Preview
