# Variant swatches

Display your product variants as **Swatches** to make it easy for customers to view your product options at a glance. Instead of a dropdown menu, swatches visually represent your variants as a row of clickable buttons.

You can add swatches using **default colors** or **custom colors** added to your theme settings. You can also **upload custom images** to represent your product variants more precisely.

<details>

<summary><mark style="color:blue;"><strong>Why are my swatches blank?</strong></mark></summary>

If your swatches appear blank, make sure that you are using an existing default color or that your image files and custom swatch names match your variant names. You may also need to add [custom swatches for multiple languages](https://github.com/fluorescent/kb-spark/blob/main/product-pages/variant-swatches/broken-reference/README.md).

</details>

## Enable swatches

***

In the theme editor, enable swatches in your theme settings by adding the option name for your product variants. You can enable swatches for multiple product options. If your store uses **multiple languages**, make sure to add the translated product option names for each language.

{% hint style="info" %}
If you want to set up variants as individual products with their own images and details, learn how to set up [Sibling product swatches.](https://help.fluorescent.co/spark/product-pages/variant-options/broken-reference).
{% endhint %}

<details>

<summary><mark style="color:blue;"><strong>STEPS</strong></mark></summary>

In your theme editor (**Customize**):

1. Click **Theme settings**, then click **Product**.
2. Enter the exact product option name in the **Option for swatches** field (e.g. "Material").

   > For multiple product options, enter all product option names, separated by commas (e.g. "Color, Material, Style").

   > If your store uses multiple languages, enter the translated names of the product options for each language, separated by commas (e.g. "Color, Couleur, Farbe").

   ![](https://1721436993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3iiuvh8UrcOxEOQkY2iO%2Fuploads%2FeWr7BPWT2TcZkAeOTI0P%2Fswatches-option-languages.jpeg?alt=media\&token=2f38cd26-8692-453f-a7a3-633156dda6a1)
3. Click **Save**.

</details>

## Set up swatch colors or images

***

Choose one of four ways to add swatches:

<table data-header-hidden><thead><tr><th width="232"></th><th></th></tr></thead><tbody><tr><td><a href="variant-swatches/use-default-colors">Use default colors</a></td><td>Use default color names for variants to show one of 140 colors.</td></tr><tr><td><a href="variant-swatches/use-custom-colors">Use custom colors</a></td><td>Use hexcodes to show custom web colors.</td></tr><tr><td><a href="variant-swatches/use-custom-images">Use custom images</a></td><td>Upload custom images uploaded to your store.</td></tr></tbody></table>

{% hint style="info" %}
You can also enable **Variant chips** on product pages, which display product options as a row of clickable buttons with the variant name as the label. See the [variant chips guide](https://help.fluorescent.co/spark/product-pages/variant-options/variant-chips).
{% endhint %}

### **Appearance settings**

***

You can choose to show swatches on products cards when hovered over anywhere on your site. Spark also has **Dynamic option availability** that grays out swatches of out-of-stock variants.

[Enable dynamic option availability](https://help.fluorescent.co/spark/product-pages/variant-options/variant-swatches/dynamic-option-availability)

[Show swatches on product cards](https://help.fluorescent.co/spark/product-pages/variant-options/variant-swatches/show-on-product-cards)

## Watch tutorial

Watch the tutorial video for setting up swatches, including default colors, custom colors, and custom images.

{% embed url="<https://www.youtube.com/watch?v=VZrge6ecwIY>" fullWidth="false" %}

<br>

***

> **Related links**
>
> [Product pages](https://help.fluorescent.co/spark/product-pages/product-template)\
> [Product listings](https://help.fluorescent.co/spark/products/product-listings)\
> [Variant chips](https://help.fluorescent.co/spark/product-pages/variant-options/variant-chips)
