---
schema_version: "1"
id: 0f99e9638cd21ae4ccb8ce1e6849e5f485dd7331be5637cc3ea4d1915de855e3
title: LayoutItem Lightning Web Component ReadMe (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_layoutitem_lightning_web_component_readme.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_layoutitem_lightning_web_component_readme.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: dc11a935bc5c215d4b1242e4756f83e5c8d851f03688166ad55bd224c464d959
description: For the managed package runtime, this page contains a LayoutItem LWC ReadMe for each Vlocity release.
products:
  - Omnistudio
release: "264"
---
# LayoutItem Lightning Web Component ReadMe (Managed Package)

For the managed package runtime, this page contains a LayoutItem LWC ReadMe for each Vlocity release.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

## Vlocity Insurance and Health Winter '20 and Vlocity CME Spring '20

The _LayoutItem Lightning Web Component_ is the basic element inside the parent _Layout Lightning Web Component_ container, grouping content together to create sections inside the parent container. You can add one or more `c-layout-item` components inside the `c-layout` component.

## Available c-layout-item Attributes

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d284386e74">
              <p style="margin-bottom:0;">Attribute</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d284386e80">
              <p style="margin-bottom:0;">Value</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d284386e86">
              <p style="margin-bottom:0;">Type</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d284386e92">
              <p style="margin-bottom:0;">Required</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d284386e98">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">size</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies. Applies to all device-types.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">smallDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than mobile. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">mediumDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than tablet. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">largeDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than desktop. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">flexibility</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">auto (columns grow or shrink equally as space allows), shrink (columns shrink equally as space decreases), no-shrink (columns don't shrink as space reduces), grow (columns grow equally as space increases), no-grow (columns don't grow as space increases), no-flex (columns don't grow or shrink as space changes)</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Determines if the grid item is fluid so that it absorbs any extra space in its container or if it shrinks when there is less space. For multiple options, use a comma to separate each option, such as 'auto, no-shrink'.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">alignment-bump</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">left, top, right, bottom</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Specifies a direction to bump the alignment of adjacent layout items.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e74 ">
              <p style="margin-bottom:0;">padding</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e80 ">
              <p style="margin-bottom:0;">horizontal-small, horizontal-medium, horizontal-large, around-small, around-medium, around-large</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e86 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e92 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d284386e98 ">
              <p style="margin-bottom:0;">Adds padding to either the right or left side of the layout item, or to all sides of the layout item.</p>
            </td>

          </tr>
        </tbody>
      </table>

## Example c-layout-item Component

```
<c-layout class="custom-slds-grid">
  <c-layout-item size="3">
    {item.name}
  </c-layout-item>
  <c-layout-item size="1">
    {item.name}
  </c-layout-item>
  <c-layout-item
    size="1"
    alignment-bump="left"
    padding="around-medium"
    flexibility="auto,no-grow,no-shrink"
  >
    {item.name}
  </c-layout-item>
  <c-layout-item size="1">
    {item.name}
  </c-layout-item>
</c-layout>
```

## Vlocity Insurance and Health Summer '19 and Vlocity CME Fall '19

The _LayoutItem Lightning Web Component_ is the basic element inside the parent _Layout Lightning Web Component_ container, grouping content together to create sections inside the parent container. You can add one or more `c-layout-item` components inside the `c-layout` component.

## Available c-layout-item Attributes

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
          <col>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d284386e373">
              <p style="margin-bottom:0;">Attribute</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d284386e379">
              <p style="margin-bottom:0;">Value</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d284386e385">
              <p style="margin-bottom:0;">Type</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d284386e391">
              <p style="margin-bottom:0;">Required</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" id="d284386e397">
              <p style="margin-bottom:0;">Description</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">size</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies. Applies to all device-types.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">smallDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than mobile. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">mediumDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than tablet. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">largeDeviceSize</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">1 through 12</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">number</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Sets the relative space the layout item occupies on device-types larger than desktop. Defaults to same as <em>size</em> attribute if no value provided.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">flexibility</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">auto (columns grow or shrink equally as space allows), shrink (columns shrink equally as space decreases), no-shrink (columns don’t shrink as space reduces), grow (columns grow equally as space increases), no-grow (columns don’t grow as space increases), no-flex (columns don’t grow or shrink as space changes)</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Determines if the grid item is fluid so that it absorbs any extra space in its container or if it shrinks when there is less space. For multiple options, use a comma to separate each option, such as `auto, no-shrink'.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">alignment-bump</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">left, top, right, bottom</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Specifies a direction to bump the alignment of adjacent layout items.</p>
            </td>

          </tr>
          <tr class="">
            <td data-label="Attribute" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e373 ">
              <p style="margin-bottom:0;">padding</p>
            </td>

            <td data-label="Value" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e379 ">
              <p style="margin-bottom:0;">horizontal-small, horizontal-medium, horizontal-large, around-small, around-medium, around-large</p>
            </td>

            <td data-label="Type" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e385 ">
              <p style="margin-bottom:0;">string</p>
            </td>

            <td data-label="Required" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e391 ">&nbsp;</td>

            <td data-label="Description" class="slds-cell-wrap" style="text-align:left;vertical-align:top;" headers="d284386e397 ">
              <p style="margin-bottom:0;">Adds padding to either the right or left side of the layout item, or to all sides of the layout item.</p>
            </td>

          </tr>
        </tbody>
      </table>

## Example c-layout-item Component

```
<c-layout class="custom-slds-grid">
  <c-layout-item size="3">
    {item.name}
  </c-layout-item>
  <c-layout-item size="1">
    {item.name}
  </c-layout-item>
  <c-layout-item
    size="1"
    alignment-bump="left"
    padding="around-medium"
    flexibility="auto,no-grow,no-shrink"
  >
    {item.name}
  </c-layout-item>
  <c-layout-item size="1">
    {item.name}
  </c-layout-item>
</c-layout>
```