Skip to main content

Tile

Customizable buttons that allow merchants to complete actions quickly. Tiles provide contextual information and let merchants access workflows, actions, and information from the Smart Grid and the top of detail pages. They're dynamic and can change based on surrounding context, such as what's in the cart.

boolean
Default: false

Disables the Tile meaning it cannot be clicked or receive focus.

string
Default: ''

A title that describes the content of the Tile.

string

A unique identifier for the element.

number

A numeric indicator rendered within the Tile (for example, a count or a step number).

  • When provided, the indicator is displayed inside the tile.
  • Intended for small integers. It may clamp, truncate, or abbreviate larger values.
string
Default: ''

Supporting text displayed below the heading.

'auto' | 'neutral' | 'accent'
Default: 'auto'

Sets the tone of the Tile, based on the intention of the information being conveyed.

Was this section helpful?

(event: <"s-tile">) => void

Callback when the Tile is activated.

Was this section helpful?

Code

<s-tile heading="Extension title" subheading="Subtitle" />
<s-tile heading="Extension title" subheading="Subtitle" tone="accent" />

Preview