---
title: "GridItem"
description: "Grid item within a Grid. Wraps the Polaris <s-grid-item> web component."
canonical_url: "https://shopify.yan.ad/components/layout/grid-item"
---
# GridItem

> Grid item within a Grid. Wraps the Polaris <s-grid-item> web component.

## Live preview

<polaris-preview example="grid-item">



</polaris-preview>

## Props

Includes all [Box](https://shopify.yan.ad/components/layout/box) props plus:

<table>
<thead>
  <tr>
    <th>
      Prop
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        gridColumn
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Grid column value
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        gridRow
      </code>
    </td>
    
    <td>
      <code>
        string
      </code>
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Grid row value
    </td>
  </tr>
</tbody>
</table>

## Slots

<table>
<thead>
  <tr>
    <th>
      Slot
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        default
      </code>
    </td>
    
    <td>
      Grid item content
    </td>
  </tr>
</tbody>
</table>

## Polaris Element

Renders as `<s-grid-item>`. See [Polaris Grid docs](https://shopify.dev/docs/api/app-home/web-components/layout/grid).


## Sitemap

See the full [sitemap](https://shopify.yan.ad/sitemap.md) for all pages.
