---
title: "Working with code components"
slug: "working-with-code-components"
abstract: "Code components and their variants are created and configured in the Content Editor to be used to build webpages in Pages."
---
# Working with code components

Code components are created in the Content Editor to be used to build webpages in Page builder. Some code components support variants. A variant makes a component appear differently or show different content.

The code components listed in this topic are available out-of-the box in the left-hand pane of Page builder. In the tables below, if the **Variant** column contains **yes**, it means that the component supports variants.

You can configure code components in the Content Editor or in Page builder. A developer can create additional custom code components in the Content Editor.

## Media

| **Component** | **Variant** | **Description** |
| --- | --- | --- |
| [Image](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-an-image-to-a-page.html) | yes | Adds an image that you select from the Media library to a page. You can configure an image with a caption, alt text, or to be used as a link. |

## Navigation

| **Component** | **Variant** | **Description** |
| --- | --- | --- |
| [Link List](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/structuring-a-page/manage-items,-rows,-and-columns-settings.html) | yes | Displays lists with items that contain a title, link, and text. |
| Navigation | no | Generates a navigation menu. |

## Page Content

| **Component** | **Variants** | **Description** |
| --- | --- | --- |
| [Page Content](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/creating-webpages/edit-a-page-s-content.html) | yes | Displays the specific fields of a page. |
| Promo | yes | It consists of an [image](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-an-image-to-a-page.html), a [link](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-a-link-to-a-page.html), and a [text](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-rich-text-to-a-page.html) element. |
| [Rich Text](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-rich-text-to-a-page.html) | yes | Adds formatted text on a page. You can write text using HTML tags. |
| [Title](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/creating-webpages/edit-a-page-s-content.html) | yes | Displays the title or subtitle of the current page. |

## Page Structure

| **Component** | **Variant** | **Description** |
| --- | --- | --- |
| [Container](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/adding-content-to-a-page/add-a-background-to-a-page.html) | no | A wrapper for other components where you can add additional CSS styling and background images. |
| [Row Splitter](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/structuring-a-page/divide-your-page-content-into-rows.html) | no | Divides a page into x number of rows and works as a placeholder for other components. |
| [Column Splitter](https://doc.sitecore.com/sai/en/users/sitecoreai/build-pages/structuring-a-page/divide-your-page-content-into-columns.html) | no | Divides a page into x number of columns and works as a placeholder for other components. |