Data

Table

Data table container. Wraps the Polaris <s-table> web component.

Usage

<template>
  <ShTable variant="list" loading paginate :has-next-page="true">
    <ShTableHeader>
      <ShTableHeaderRow>
        <ShTableCell>Name</ShTableCell>
        <ShTableCell>Status</ShTableCell>
      </ShTableHeaderRow>
    </ShTableHeader>
    <ShTableBody>
      <ShTableRow>
        <ShTableCell>Product A</ShTableCell>
        <ShTableCell>Active</ShTableCell>
      </ShTableRow>
    </ShTableBody>
  </ShTable>
</template>

Props

PropTypeDefaultDescription
variant'auto' | 'list'Table display variant
loadingbooleanShows loading state
paginatebooleanEnables pagination
hasPreviousPagebooleanPrevious page available
hasNextPagebooleanNext page available

Slots

SlotDescription
defaultTable header, body, and other content

Polaris Element

Renders as <s-table>. See Polaris Table docs.

© 2026 KiriminAja. Polaris and Shopify are trademarks of Shopify Inc.

KiriminAja not affiliated with Shopify.