# Variant swatches

Swatches are used to make variant selections easier and more intuitive for customers when they are selecting an option with color. Swatches appear throughout your theme in various places and can be used with custom images or hex code colors.

<figure><img src="https://2961089327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJlTTtkiYsDIt9ISlkeW%2Fuploads%2FaOxDeBy4rAvalLjeUeRn%2FCleanShot%202024-09-30%20at%2014.20.54%402x.png?alt=media&#x26;token=5b98cb00-3bd7-4de2-bcb0-a2658fcd238f" alt=""><figcaption></figcaption></figure>

In order to display swatches on a product page or within a product card we can use metafield connected variant options. This might sound complicated but it's super easy to setup and works great out of the box.

{% stepper %}
{% step %}
Go to the product you want to update
{% endstep %}

{% step %}
Scroll to **Category**&#x20;
{% endstep %}

{% step %}
Select the Category of your Product
{% endstep %}

{% step %}
Scroll to **Variants**
{% endstep %}

{% step %}
Click **Add variant**&#x20;
{% endstep %}

{% step %}
Add a new option like Color or Material
{% endstep %}

{% step %}
Right of Option name, click matching metafield

eg. "Color" or "Material"

<figure><img src="https://2961089327-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJlTTtkiYsDIt9ISlkeW%2Fuploads%2FTKkpkchAYQGeaVlhAdM8%2Foptions.png?alt=media&#x26;token=a1e54f04-9092-43ee-9037-a4e080de1b4e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter Swatch names

{% hint style="info" %}
From here you'll be able to change the hexcode or image of each swatch by clicking into it.
{% endhint %}
{% endstep %}

{% step %}
Hit **Save**

{% endstep %}
{% endstepper %}
