---
title: "sections"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/online-store-3-0-themes/theme-structure/sections'
  md: 'https://developer.shopline.com/docs/online-store-3-0-themes/theme-structure/sections.md'
---
# sections

The `sections` directory contains all sections for a theme. A section is the core element for page construction, primarily used to define the structure and functions of different page modules. Merchants can freely add, delete, move, and edit sections in a theme.

---


## Directory structure{#A97VW}
Within the `sections` directory, each section must have its unique directory, containing an `.html` file with the same name as the directory. A section can consist of the following three types of files: 

+ **`.html`** (required): Used to define the HTML layout of the section. 
+ **`.css`** (optional): Used to define the styling of the section. 
+ **`.js`** (optional): Used to define the interaction logic of the section.

```html
sections
├── announcement-bar
│   ├── announcement-bar.css
│   ├── announcement-bar.js
│   └── announcement-bar.html
├── blog
│   ├── blog.css
│   └── blog.html
```

---


## Create a section{#WXNLw}
The `.html` file of each section generally contains the following two parts:

+ **HTML**: defines the layout of the section. 
+ **schema**: defines the configuration settings of the section. These settings display in the theme editor, allowing merchants to make custom configurations.

The following parts take the `featured-collection` as an example, showing the steps of creating a section. 


### 1. Add section files{#HJTmF}
Create a new directory named `featured-collection` under the `sections` directory, and then create an `.html` file with the same name inside the new directory. The following shows the directory structure: 

```html
sections
└── featured-collection
    └── featured-collection.html
```


### 2. Define the schema configuration{#DJPP3}
Add the [schema](#Fc76g) in the `featured-collection.html` file. 

```html
<!-- sections/featured-collection/featured-collection.html -->

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ]
}
{{/schema}}

```


### 3. Render the schema configuration{#suyui}
In the `.html` file, obtain the section configuration by specifying `section.settings`, and use the [collection control](https://developer.shopline.com/docs/online-store-3-0-themes/theme-and-editor-interaction/editor-controls.md#z3no3) to get the collection title selected by the merchant. The ID of the section setting is `collection`. 

The configuration example is as follows: 

```html
<!-- sections/featured-collection/featured-collection.html -->

<section>
  title: {{section.settings.collection.title}}
</section>

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ]
}
{{/schema}}

```

The output is as follows: 

```html
<section>
  title: /collections/foo
</section>
```

> **tip**
>
> The [schema](#Fc76g)  declare component configurations. It cannot render any content.

---


## Create a private block in the section{#bt1G9}
[Blocks](https://developer.shopline.com/docs/online-store-3-0-themes/theme-structure/blocks.md) are supported within sections. You can segment a section's functionality into different blocks and assemble them in the section. 


### 1. Add files of private blocks{#e85xs}
The private blocks for a section must be stored in the `blocks` directory within the section. 

Create the private block directory `blocks` under the `sections/featured-collection` section, shown as follows: 

```html
sections
└── featured-collection
    ├── featured-collection.html
    └── blocks
        ├── heading.html          # The title block
        └── product-list.html     # The product list block
```


### 2. Define the HTML layout for the block{#yyGBz}
In the `heading.html` block file, use the [props](https://developer.shopline.com/docs/sline/object/props.md) object to obtain the `text` field passed in the section. 

> **tip**
>
> All fields in the `props` object are predefined parameters of the block and must be passed in externally. For example, the `text` field in the following sample must be provided when using the block. Otherwise, the block will fail to render properly.

```html
<!-- sections/featured-collection/blocks/heading.html -->

<div class="heading">
  <div>{{props.text}}</div>
</div>
```

In the `product-list.html` file:

1. Use the [props](https://developer.shopline.com/docs/sline/object/props.md) object to obtain the `collection` field passed in the section. 
2. Use the [get_product_pagination](https://developer.shopline.com/docs/sline/filter/get-product-pagination.md) filter to obtain the product pagination data.
3. Render the product content by using the [for](https://developer.shopline.com/docs/sline/tag/for.md) tag. 

```html
<!-- sections/featured-collection/blocks/product-list.html -->

{{#var products_pagination = props.collection | get_product_pagination(4) /}}
{{#var products = products_pagination.list /}}
<ul>
  {{#for product in products}}
    <li>
      <div>{{product.title}}</div>
    </li>
  {{/for}}
</ul>
```


### 3. Render blocks{#FY4RN}
After creating blocks, you can reference them in the section. 

+ Within the `div` element, use the [blocks](https://developer.shopline.com/docs/sline/tag/blocks.md) and [block](https://developer.shopline.com/docs/sline/tag/block.md) tags to render blocks. 
+ Within the schema, add block-related fields. 

```html
<div>
  {{#blocks}}
    {{#if forblock.type == "$heading"}}
      <!-- Pass section.settings.collection.title to the heading block-->
      {{#block text=section.settings.collection.title /}}
    {{#else if forblock.type == "$product-list" /}}
      <!-- Pass section.settings.collection to the product-list block-->
      {{#block collection=section.settings.collection/}}
    {{/if}}
  {{/blocks}}
</div>

{{#schema}}
{
  "name": "featured-collection",
  "settings": [
    {
      "type": "collection",
      "id": "collection",
      "label": "collection"
    }
  ],
  "blocks": [
    {
      "type": "$heading",
      "limit": 1
    },
    {
      "type": "$product-list",
      "limit": 1
    }
  ]
}
{{/schema}}
```

---


## Section group{#Imi1M}
A section group is a collection of related sections, used to manage the sections and their configurations that will render together. The section group is defined by `.json` files, which must be stored under the root directory `sections`. The directory structure example is as follows: 

```html
sections
├── header-group.json     
└── footer-group.json
```


### Schema{#CIjtm}
The following shows the JSON data specification of a section group: 

```html
{
  name: <SectionGroupName>,
  type: <SectionGroupType>,
  sections: {
    <SectionID>: {
      "type": <SectionType>,
      "disabled": <SectionDisabled>,
      "settings": {
        <SettingID>: <SettingValue>
      },
      "blocks": {
        <BlockID>: {
          "type": <BlockType>,
          "settings": {
            <SettingID>: <SettingValue>
          },
          "blocks": {
            <BlockID>: {
              "type": <BlockType>,
              "settings": {
                <SettingID>: <SettingValue>
              }
            }
          }
        }
      },
      "block_order": <BlockOrder>
    }
  },
  "order": <SectionOrder>
}
```

The following table explains the fields in the JSON data specification. 

| **Field** | **Data type** | **Required or not** | **Description** |
| --- | --- | --- | --- |
| \<SectionGroupName> | String | Yes | The name of the section group |
| \<SectionGroupType> | String | Yes | The type of the section group. Valid values are:<br/>• `header`: the section group applied to the page header<br/>• `footer`: the section group applied to the page footer |
| \<SectionID> | String | Yes | The global unique hash to identify a section, generated randomly. |
| \<SectionType> | String | Yes | The section file name.  |
| \<SectionDisabled> | Boolean | No | Whether to show or hide the section. <br/>• `true`: hide <br/>• `false`: show <br/>Default value: `false` |
| \<BlockID> | String | No | The global unique hash string to identify a block, generated randomly.  |
| \<BlockType> | String | No | The block file name.  |
| \<BlockOrder> | String[]| No | The list of `<BlockID>`, to identify the rendering order of blocks.  |
| \<SectionOrder> | String[] | No | The list of `<SectionID>`, to identify the rendering order of sections.  |
| \<SettingID> | String | No | The configuration ID, defined in the [schema](#Fc76g).  |
| \<SettingValue> | String | No | The configuration value, customized by the merchant.  |


The following example shows the schema in `header-group.json`.

```html
{
  "name": "Header Group",
  "type": "header",
  "sections": {
    "announcement-bar": {
      "type": "announcement-bar",
      "blocks": {
        "announcement-bar__item1": {
          "type": "$item"
        }
      },
      "block_order": ["announcement-bar__item1"]
    },
    "header": {
      "type": "header"
    }
  },
  "order": ["announcement-bar", "header"]
}

```


### Using section groups{#Ciri0}
Use section groups through the [sections](https://developer.shopline.com/docs/sline/tag/sections.md) tag. 

The following example shows how to reference the `header-group.json` section group within the `layout/theme.html` file. 

```html
<!DOCTYPE html>
<html lang="{{request.locale.iso_code}}">
  <head>
    ...
  </head>
  <body>
    ...
    {{#sections "header-group" /}}
    ...
  </body>
</html>
```

Merchants can add, delete, and reorder sections within the section group via the theme editor. 

> **tip**
>
> Typically, the `sections` directory only includes `header-group.json` and `footer-group.json` files. 
> 
> • `header-group.json`: the section group applied to the page header <br/>
> • `footer-group.json`: the section group applied to the page footer

---


## Fixed sections{#WgpOI}
Fixed sections are part of the theme that merchants cannot add, delete, or rearrange through the theme editor, such as the page header and footer. Merchants can only modify settings of these sections.

The fixed sections must be included and referenced in the [layout](https://developer.shopline.com/docs/online-store-3-0-themes/theme-structure/layout.md) file. 


### Using fixed sections{#HoVx0}
You can reference fixed sections in the layout file by using the [section](https://developer.shopline.com/docs/sline/tag/section.md) tag. 

As shown in the following example, in the Bottle theme, fixed sections are referenced in the layout file for the password protection page.

```html
<!-- layout/password.html -->

<!DOCTYPE html>
<html>
<head>
  {{#content "header" /}}
</head>
<body class="password-page">
  {{#section "main-password-header" /}}	<!-- Reference the fixed section main-password-header -->

  ...
  {{#content "layout" /}}
  ...

  {{#section "main-password-footer" /}}	<!-- Reference the fixed section main-password-footer -->

  {{#content "footer" /}}
</body>
</html>
```

---


## Asynchronous section rendering{#ZuQ5j}
You can use the capability of asynchronous section rendering by sending AJAX requests to fetch specific section HTML snippets. These snippets can then be used to dynamically replace page elements and update the content without the need to reload the entire page.

For more details, refer to [Section rendering API](https://developer.shopline.com/docs/online-store-3-0-themes/section-rendering-api.md?lang=en).

---


## Section schema{#Fc76g}
Component utilize the schema to define various attributes of the section, such as the section name. The schema of a section includes the following attributes:

+ [name](#NxOfE)
+ [class](#EcWCY)
+ [tag](#Yui6z)
+ [settings](#ZFUPi)
+ [blocks](#OuEiB)
+ [max_blocks](#NUXtU)
+ [limit](#txqP3)
+ [presets](#D9BUi)
+ [icon](#PPOz9)

> **tip**
>
> The schema tag is a Sline tag. It cannot render any content.


### name{#NxOfE}
The `name` attribute defines the section title displayed in the theme editor. 

The following example shows `name` specified in the schema. 

```html
{{#schema}}
{
  "name": "Slideshow"
}
{{/schema}}
```

The section title rendered in the theme editor is shown as follows: 

![](https://s2cdn.myshopline.com/slfs/op-new/175083540721310/1740642631105-1893d72e-96ba-4f0b-aac2-a916b0ae0890.png)


### class{#EcWCY}
When you render a section in a theme page, the section is automatically wrapped in an HTML element with the default `shopline-section` class. You can append the class value by defining the `class` attribute in the section schema.  

For example, the `class` attribute in a section is defined as follows:

```html
{{#schema}}
{
  "name": "Slideshow",
  "class": "slideshow"
}
{{/schema}}
```

Then the new HTML output is as follows, with the new class value of `shopline-section slideshow`. 

```html
<section id="shopline-section-[id]" class="shopline-section slideshow">
  // ...
</section>
```


### tag{#Yui6z}
When you render a section in a theme page, the section is automatically wrapped in an HTML element, which defaults to `div`. You can change this HTML element using the `tag` attribute.For example, the `tag` attribute in a section is defined as follows:

```html
{{#schema}}
{
  "name": "Slideshow",
  "tag": "section"
}
{{/schema}}
```

Then the new HTML output is as follows, with the wrapper element changed to `section`.
```html
<section id="shopline-section-[id]" class="shopline-section slideshow">
  // ...
</section>
```

In a block schema, setting `tag` to an empty string removes the wrapper element. In this case, you must manually add the ` {{{ shopline_attributes }}} ` attribute to provide location context for the theme editor. If the wrapper is not removed, this attribute is injected automatically. For example:
```html
{{#schema}}
{
  "name": "Slideshow-item-block",
  "tag": ""
}
{{/schema}}
```


### settings{#ZFUPi}
> **tip**
>
> For detailed information about `settings`, refer to [Control configurations](https://developer.shopline.com/docs/online-store-3-0-themes/theme-and-editor-interaction/editor-controls.md).

You can create section configuration settings for merchants to customize the section in the theme editor. 

> **caution**
>
> Each `id` in `settings` must be unique within the section.

```html
{{#schema}}
{
  "name": "Richtext",
  "settings": [
    {
      "type": "richtext",
      "id": "title",    
      "label": "Title",
      "default": "Rich text"
    }
  ]
}
{{/schema}}
```

![](https://s2cdn.myshopline.com/slfs/op-new/175203272572572/1744360670540-aeca2c53-08d1-4e82-a9ae-f753e444e391.png)


#### Access configuration settings{#dQb9k}
You can access configuration settings for the section via [section.settings](https://developer.shopline.com/docs/sline/object/section.md). 

```html
<div>{{ section.settings.title }}</div>

{{#schema}}
{
  "name": "Slideshow",
  "settings": [
    {
      "type": "richtext",
      "id": "title",
      "label": "Title",
      "default": "Rich text"
    }
  ]
}
{{/schema}}
```


### blocks{#OuEiB}
You can create reusable blocks for a section. The blocks can be added, deleted, and reordered in a section. 

`blocks` contains a list of blocks, with the following attributes:

| **Attribute** | **Data type** | **Required or not** | **Description** |
| --- | --- | --- | --- |
| type | string | Yes | The block type. The value of this attribute varies depending on the type of the block: <br/> • **Public** **block**: The value is the HTML file name of the block. For example, if the file name of the public block is `blocks/heading.html`, the `type` value is `heading`. <br/>• **Private** **block**: The value is the HTML file name of the block, prefixed with the symbol `$`. For example, if the file name of the public block is `sections/blog/blocks/articles.html`, the `type` value is `$articles`. <br/>• [App Block](https://developer.shopline.com/docs/online-store-3-0-themes/integrate-apps-with-themes/theme-app-extension/structure.md?lang=en#KOCjB): The value is fixed at `@app`, indicating that the block supports adding an App Block.  |
| limit | number | No | The quantity of this type of block that can be used.  |


```html
{{#schema}}
{
  "name": "Slideshow",
  "blocks": [
    {
      "type": "heading-with-link/heading-with-link",
      "limit": 1
    },
    {
      "type": "product-list/list",
      "limit": 1
    }
  ]
}
{{/schema}}
```


### max_blocks{#NUXtU}
The `max_blocks` attribute indicates the maximum quantity of blocks that a merchant can use in the section via the theme editor. The following shows an example: 

```html
{{#schema}}
{
  "name": "Slideshow",
	"max_blocks": 5
}
{{/schema}}
```

### limit{#txqP3}
The `limit` attribute restricts the maximum number of times a specific section type or block can be added. When configured within the component's root schema, it defines the maximum number of instances this section can have within a single page template. For example:

```html
{{#schema}}
{
  "name": "description",
  "limit": 1
}
{{/schema}}
```

The configuration above indicates that this component can be added at most once within the same page template. Similarly, the limit attribute can be applied within blocks to restrict the maximum number of times a specific block type can be added inside the current section. For example:

```html
{{#schema}}
{
  "name": "content-container",
  "blocks": [
    {
      "type": "$heading",
      "limit": 1
    },
    {
      "type": "$subheading",
      "limit": 1
    }
  ]
}
{{/schema}}
```

The configuration above indicates that within this section, you can add a maximum of one `$heading` block and a maximum of one `$subheading` block.



### presets{#D9BUi}
The `presets` attribute is used to define the display of the section's preset configurations when the section is added through the theme editor. 

This attribute is an array, where the number of elements in the array represents the number of preset configurations available for the section. Each section must contain at least one preset configuration.

When a merchant adds a section in the theme editor, the preset configuration of the selected section is added to the corresponding JSON Template.

> **caution**
>
> If the `presets` attribute is not explicitly declared, the section cannot be displayed in the theme editor.

Each item in `presets` has the following attributes:

| **Attribute** | **Description** | **Required or not** |
| --- | --- | --- |
| name | The preset name, displayed as the section name in the theme editor.  | Yes |
| settings | The preset settings, stored as an object.  | No |
| category | The preset category, displayed as the section category when merchants add the section in the theme editor.  | No |
| blocks | A predefined set of blocks with specific configurations, automatically included when merchants add the section in the theme editor. <br/>Each block is characterized by the following fields:<br/>• `type`: The name of the block's HTML file, such as `heading.html`.<br/>• `settings`: The block's predefined settings, same as section preset `settings`.  | Yes<br/><br/> |


The following shows a `presets` example in a section. 

```html
{{#schema}}
{
  "name": "Slideshow",
  "settings": [
    {
      "type": "text",
      "id": "title",
      "label": "Title"
    }
  ],
  "presets": [
  	{
      "name": "Image slideshow",
    	"settings": {
      	"title": "Image"
      },
      "blocks": [
        {
          "type": "$image",
          "settings": {
            "text": "image item"
          }
        }
      ]
    }
  ]
}
{{/schema}}
```


### icon{#PPOz9}
The `icon` attribute is used to display the section icon in the drag-and-drop zone in the theme editor. Valid values are as follows: 

| **Value** | **Icon to display** |
| --- | --- |
| footer | ![](https://s2cdn.myshopline.com/slfs/op-new/175083549858334/1740474646568-34019d7f-be67-4a02-94f2-c78f245ea582.png) |
| header | ![](https://s2cdn.myshopline.com/slfs/op-new/175083552338688/1740474696550-552030fb-5047-435a-a92a-fd703da7527f.png) |
| testimonials | ![](https://s2cdn.myshopline.com/slfs/op-new/175083561344394/1740474754470-fde6b2c0-ddd8-421c-a6ae-7279291a3858.png) |
| orderPlacement | ![](https://s2cdn.myshopline.com/slfs/op-new/175083564149920/1740474789100-6b1be585-bf44-4854-8829-9474539c5366.png) |
| products | ![image.png](https://s2cdn.myshopline.com/slfs/op-new/177822766480927/image.png)|
| collection | ![](https://s2cdn.myshopline.com/slfs/op-new/175083571166609/1740474887893-a819dafd-528a-4bc2-934c-3a79ace1d300.png) |
| collectionList | ![](https://s2cdn.myshopline.com/slfs/op-new/175083572474962/1740474936190-56832e04-b5e4-417c-8309-93ad410c4d5f.png) |
| productThumbnail | ![](https://s2cdn.myshopline.com/slfs/op-new/175083574585040/1740475047421-1614bf49-0120-42dc-9837-59928c6f99ed.png) |
| filter | ![](https://s2cdn.myshopline.com/slfs/op-new/175083576285316/1740475070266-3cc732f5-357e-4f59-9022-a7812eb07d56.png) |
| featuredProduct | ![](https://s2cdn.myshopline.com/slfs/op-new/175083577822226/1740475093919-be1da201-1943-476c-9425-c25b146e6ead.png) |
| productHighlightWithCover | ![](https://s2cdn.myshopline.com/slfs/op-new/175083579993056/1740475109851-877423ce-8914-4b33-94fe-34a44eb87c28.png) |
| content | ![](https://s2cdn.myshopline.com/slfs/op-new/175083592614906/1740475128640-a64d953a-50e8-41a5-ae40-649dca78ccfd.png) |
| image | ![](https://s2cdn.myshopline.com/slfs/op-new/175083595853722/1740475152335-904a369c-16d6-4fa9-b811-39d62402d425.png) |
| slideshow | ![](https://s2cdn.myshopline.com/slfs/op-new/175083597978569/1740475189365-62d2b9a1-e7f0-4536-817a-95b352c5063a.png) |
| heroImageWithTextBox | ![](https://s2cdn.myshopline.com/slfs/op-new/175083599563201/1740475210018-c3508c53-caa8-49e8-b7fe-c19bcae5a0a5.png) |
| textWithImage | ![](https://s2cdn.myshopline.com/slfs/op-new/175083601740213/1740475235209-46815199-137e-4917-bb42-ee79f1455413.png) |
| textColumnsWithIcons | ![](https://s2cdn.myshopline.com/slfs/op-new/175083603645764/1740475260701-13c15b36-09dd-4c6a-8897-1d9d12788e31.png) |
| video | ![](https://s2cdn.myshopline.com/slfs/op-new/175083605186727/1740475276775-fd198837-1b51-44af-80fe-2531de34c497.png) |
| logoList | ![](https://s2cdn.myshopline.com/slfs/op-new/175083606866240/1740475318338-360567b7-152e-4d4e-8f0a-b7238589adc5.png) |
| imageTextGrid | ![](https://s2cdn.myshopline.com/slfs/op-new/174721648654273/1740475334147-ada8a4fb-b046-4538-b5b2-c9bf829ffc16.png) |
| timeline | ![](https://s2cdn.myshopline.com/slfs/op-new/174721650042394/1740475350323-efb5a9e2-17ca-4e9e-8b9c-11689ec727e1.png) |
| campaignPromotion | ![](https://s2cdn.myshopline.com/slfs/op-new/174721651278960/1740475365554-e40728ab-64ea-4c46-a327-d898c86503c2.png) |
| footerPromotion | ![](https://s2cdn.myshopline.com/slfs/op-new/174721662526740/1740475381362-d3b298f2-9ffd-40dc-9a8b-28180c11d017.png) |
| announcementBar | ![](https://s2cdn.myshopline.com/slfs/op-new/174721663858047/1740475401859-0b047553-703e-4ba1-b6ad-ae77dbb7b3b7.png) |
| discountBanner | ![](https://s2cdn.myshopline.com/slfs/op-new/174721667135315/1740475494784-ea7b6f2d-55be-4b53-9248-74dc3ec7bd76.png) |
| email | ![](https://s2cdn.myshopline.com/slfs/op-new/174721668315592/1740475508210-d3783f81-a96f-4a89-b56e-28883eb32ac1.png) |
| navigation | ![](https://s2cdn.myshopline.com/slfs/op-new/174721665899658/1740475545134-f6bda8e9-2a44-4995-9dd6-2b34ffb607d4.png) |
| frequentlyAskedQuestions | ![](https://s2cdn.myshopline.com/slfs/op-new/174721669848240/1740475583743-01b9c86b-5f18-457c-93ee-b812ebda061f.png) |
| code | ![](https://s2cdn.myshopline.com/slfs/op-new/174721671114187/1740475598861-b9fc788b-55b0-477a-8985-7787aee090b3.png) |
| brandList | ![](https://s2cdn.myshopline.com/slfs/op-new/174721672460576/1740475619204-dc8f70ab-784e-4410-87c0-bc94883ba4e9.png) |
| sideColumnFilter | ![](https://s2cdn.myshopline.com/slfs/op-new/174721675231401/1740475634531-12a7c57e-443c-4896-b709-b33aaaf25869.png) |
| socialMedia | ![](https://s2cdn.myshopline.com/slfs/op-new/174721676497392/1740475648105-34744300-e395-4caf-8c5e-9e796dc62959.png) |
| sideColumn | ![](https://s2cdn.myshopline.com/slfs/op-new/174721677944754/1740475726494-7fd16750-ccc6-4667-a703-1189cb69fe4f.png) |
| inquiryForm | ![](https://s2cdn.myshopline.com/slfs/op-new/174721679353619/1740475739374-ce6de4e4-cf62-44a0-8702-285a17803ef8.png) |
| externalLink | ![](https://s2cdn.myshopline.com/slfs/op-new/174721680347205/1740475763210-741b55aa-1f92-469c-8024-0067aaff0970.png) |
| generalSection | ![](https://s2cdn.myshopline.com/slfs/op-new/174721681639061/1740475780373-660febe6-d2d6-4d83-985c-242422518619.png) |
| company | ![](https://s2cdn.myshopline.com/slfs/op-new/174721692043680/1740475792743-cfe29065-fe37-48b7-b982-1cf38dc59492.png) |
| marketSelector | ![](https://s2cdn.myshopline.com/slfs/op-new/174721693196448/1740475804617-6edd0318-e15e-42a4-ae20-a8967222b35f.png) |
| cardComponent | ![](https://s2cdn.myshopline.com/slfs/op-new/174721694470718/1740475820670-17985d5c-f877-44bb-80d5-9bfabf4aab49.png) |
| blog | ![](https://s2cdn.myshopline.com/slfs/op-new/174721695779625/1740475833077-8358be8c-477c-42eb-9c45-2f74361f8dd6.png) |
| title | ![](https://s2cdn.myshopline.com/slfs/op-new/174721696955590/1740475845210-cddc1126-22e5-42e5-9c9e-d6a90909b43d.png) |
| button | ![](https://s2cdn.myshopline.com/slfs/op-new/174721698033785/1740475858050-db90ac5f-3a37-4edf-9f24-c60e8e412f8e.png) |
| general | ![](https://s2cdn.myshopline.com/slfs/op-new/174721699323168/1740475883310-b1eceeb7-e165-4ad7-b870-b9ab41e183cc.png) |
| checkoutPage | ![](https://s2cdn.myshopline.com/slfs/op-new/174721700591288/1740475898205-e715dd7b-db5f-49bb-a882-ca3b91ce7fb3.png) |
| homePage | ![](https://s2cdn.myshopline.com/slfs/op-new/174721701711132/1740475910126-c2f3362d-24af-4142-8d61-841f68b207fb.png) |
| additionalPages | ![](https://s2cdn.myshopline.com/slfs/op-new/174721702814303/1740475920989-7741ac07-e041-47de-90ba-f19a8a9cd72c.png) |
| shoppingCart | ![](https://s2cdn.myshopline.com/slfs/op-new/174721703986913/1740475936647-ab3be5da-dd50-472a-b1a9-04e72b8c6cc2.png) |
| loyaltyPoints | ![](https://s2cdn.myshopline.com/slfs/op-new/174721705562225/1740475953917-78f4973e-76be-4392-9674-d1477ee85f6b.png) |
| toggleSwitch | ![](https://s2cdn.myshopline.com/slfs/op-new/174721706662512/1740475966547-61bdf00e-7c83-4286-bb93-e1c7d17560df.png) |
| starRating | ![](https://s2cdn.myshopline.com/slfs/op-new/174721708071077/1740475978439-710304cb-76a5-4b44-ae8e-68fa0b9fc18d.png) |
| date | ![](https://s2cdn.myshopline.com/slfs/op-new/174721710390057/1740475991196-ee8416f7-1d9f-45a4-94ad-b98aba885390.png) |
| measurement | ![](https://s2cdn.myshopline.com/slfs/op-new/174721711422942/1740476002344-cb202324-0927-40eb-90b1-8a5cc399f072.png) |
| dataReference | ![](https://s2cdn.myshopline.com/slfs/op-new/174721714399815/1740476013939-6c7cee67-0f64-4ff4-a2c9-d06fecb929d0.png) |
| colorPicker | ![](https://s2cdn.myshopline.com/slfs/op-new/174721715623761/1740476025865-3412f22f-a0be-4378-8ff7-2b10b0d653c7.png) |
| fileUpload | ![](https://s2cdn.myshopline.com/slfs/op-new/174721716872947/1740476042962-5dfdbd40-ebd3-41dd-9c1a-3c82340b7d5c.png) |
| number | ![](https://s2cdn.myshopline.com/slfs/op-new/174721718130143/1740476054335-43ea185c-ed69-45b3-a04d-74ad1034865a.png) |
| addCustomField | ![](https://s2cdn.myshopline.com/slfs/op-new/174721719235138/1740476068009-40e8b90e-b2ad-412b-888a-00ff88fcc8fd.png) |
| linkCustomField | ![](https://s2cdn.myshopline.com/slfs/op-new/174721720586100/1740476077461-d66d5b66-1a02-4a7a-ae5a-b738c870bf1e.png) |
| customer | ![](https://s2cdn.myshopline.com/slfs/op-new/174721721880789/1740476093325-a16aadf4-3247-45b9-9200-0dbb5d20cce2.png) |
| currency | ![](https://s2cdn.myshopline.com/slfs/op-new/174721722981569/1740476106749-7800ebda-d867-44ca-bc38-6a56881054dc.png) |
| productSku | ![](https://s2cdn.myshopline.com/slfs/op-new/174721723749782/1740476117626-356a26bf-74ac-497b-ba31-46e9f74d79fb.png) |
| vector | ![](https://s2cdn.myshopline.com/slfs/op-new/174721725344619/1740476129691-3efbf61f-16f3-4530-88c7-599bc899d61f.png) |
| addButton | ![](https://s2cdn.myshopline.com/slfs/op-new/174721726415979/1740476140360-aa8c9596-7fa0-44d9-b016-766a78e585ba.png) |
| divider | ![](https://s2cdn.myshopline.com/slfs/op-new/174721727634325/1740476157151-81779a6b-899e-494c-89e9-2534c9e7a469.png) |
| socialMedia | ![](https://s2cdn.myshopline.com/slfs/op-new/174721728646846/1740476173857-1eb3c492-d780-4d06-8354-9e8b1e1418e4.png) |
| gallery | ![](https://s2cdn.myshopline.com/slfs/op-new/174721729691095/1740476188382-d431f187-e0f1-43da-a17a-9ff7eb774a03.png) |
| discountTag | ![](https://s2cdn.myshopline.com/slfs/op-new/174721730545618/1740476202922-ced0c743-cba5-4c8d-8f74-2aa9ecf382d0.png) |
| orderNotes | ![](https://s2cdn.myshopline.com/slfs/op-new/174721731465911/1740476222699-d515fbc5-84b3-4a71-ae5d-5caaac98ffe8.png) |
| addToCart | ![](https://s2cdn.myshopline.com/slfs/op-new/174721732654065/1740476235606-a37b9921-a962-4641-8980-d7b0398997f5.png) |
| abandonedCart | ![](https://s2cdn.myshopline.com/slfs/op-new/174721733655543/1740476247330-410cb05c-7b2f-49b9-ab50-808d18e1c2e8.png) |
| favoriteStar | ![](https://s2cdn.myshopline.com/slfs/op-new/174721734583018/1740476260291-061aad05-0edd-4879-8ebe-d8598c15ac7e.png) |
| storeIcon | ![](https://s2cdn.myshopline.com/slfs/op-new/174721735681540/1740476271787-5601d2e1-6313-4a51-8cc4-23c3deb1692b.png) |
| groupIcon | ![](https://s2cdn.myshopline.com/slfs/op-new/174721736750359/1740476285094-26c45cac-b785-4bf0-ae82-aa929eaccf3c.png) |
| dropdownSelect | ![](https://s2cdn.myshopline.com/slfs/op-new/174721737685037/1740476298664-7aa7e43b-647c-4682-ba3f-2d30c2cc5f54.png) |
| upgradeOption | ![](https://s2cdn.myshopline.com/slfs/op-new/174721738668081/1740476311791-73acaa24-ae47-484f-b8fa-c3f3a0ed3728.png) |
| cartTotal | ![](https://s2cdn.myshopline.com/slfs/op-new/174721739635640/1740476328781-71a81486-1db5-4938-bea1-ed2d4bea6f57.png) |
| giftCard | ![](https://s2cdn.myshopline.com/slfs/op-new/174721742192092/1740476341185-140c457c-90a4-40d6-babc-98f5d1e6cde4.png) |
| userLevel | ![](https://s2cdn.myshopline.com/slfs/op-new/174721743559726/1740476357193-95c15e50-79f2-4ab8-8a8f-7ab668d08def.png) |


The following example shows how icons are displayed in the theme editor. 

![](https://s2cdn.myshopline.com/slfs/op-new/175203322359459/1744361544595-2740c6a9-dd83-4390-81ea-9f4cac06a37f.png)

