---
title: "Flowchart to determine whether to create a custom component"
slug: "flowchart-to-determine-whether-to-create-a-custom-component"
abstract: "Do you need to create a custom component or is there another solution?"
---
# Flowchart to determine whether to create a custom component

Use the following flowchart to help decide whether you need to create a custom component.

![headless-site-flowchart-to-determine-custom-rendering.png](https://doc.sitecore.com/api/markdown-image/xp/en/developers/sxa/105/sitecore-experience-accelerator/images/headless-site-flowchart-to-determine-custom-rendering.png)

The letters in the flowchart correspond to topics that provide you with more information:

| Number in flow chart | Related topic |
| --- | --- |
| A | [Build a simple component](https://doc.sitecore.com/xp/en/developers/sxa/105/sitecore-experience-accelerator/walkthrough--building-a-simple-rendering.html) |
| B | [Add a style for a component](https://doc.sitecore.com/xp/en/developers/sxa/105/sitecore-experience-accelerator/add-a-style-for-a-rendering.html) |
| C,F | [Copy and customize a component](https://doc.sitecore.com/xp/en/developers/sxa/105/sitecore-experience-accelerator/copy-and-customize-a-rendering.html) |
| D | Build a hard-coded component that does not accept a data source, cannot be modified, and only displays static content. |
| E,H | [Create a component variant](https://doc.sitecore.com/xp/en/developers/sxa/105/sitecore-experience-accelerator/create-a-rendering-variant.html) |
| G | [Add a data source setting for an existing component](https://doc.sitecore.com/xp/en/developers/sxa/105/sitecore-experience-accelerator/add-a-data-source-setting-for-an-existing-component.html) |