Skip to Content
ProductsVariants and color swatches

Variants and color swatches

Faber shows color and finish options as swatches — small squares (or circles) of color or texture — in three places:

  • the variant picker on product pages and in quick view,
  • the Swatches block on product cards,
  • color filters on collection and search pages.
Swatches on the product page

Which options show swatches

An option shows swatches when either of these is true:

  1. It has Shopify swatches. In Shopify admin you gave the option values a color or an image (see Add Shopify swatches). These options always show swatches.
  2. Its name is in the list under Theme settings › Swatches › Show swatches for options named (default “Color, Colour”) and every value has a look (see the next part). Names are matched without regard to capitals.

If one value of a listed option has no look at all, the whole option shows as ordinary buttons instead. That way shoppers never see an empty circle.

Finishes and other languages: a furniture or lighting catalog often calls the option Finish, Wood or Upholstery. Add those names too, for example Color, Colour, Finish. Other languages: add your own words to Show swatches for options named, separated by commas — for example Color, Colour, Màu sắc, Farbe, Couleur.

How a swatch gets its look

For each value, Faber uses the first of these that exists:

OrderSourceExample
1The Shopify swatch image for the valueA photo of the oak veneer or the upholstery fabric
2The Shopify swatch color for the value#1f2a44
3A line in Theme settings › Swatches › Swatch colors with the exact value nameSmoked oak: #6b5139
4A common color word in the name, reading from the end“Army green” → green, “Cosmos Black” → black
5The variant’s image, when Use the variant image when no color is found is onThe photo of the chair in that finish

Common color words Faber knows include black, white, ivory, cream, beige, sand, natural, oat, stone, grey/gray, graphite, charcoal, silver, steel, chrome, navy, blue, sky, teal, turquoise, green, sage, olive, moss, forest, mint, red, burgundy, pink, blush, rose, purple, lilac, lavender, yellow, mustard, orange, terracotta, clay, rust, copper, bronze, gold, brown, walnut, oak, espresso, tan, khaki, clear and transparent.

Theme settings › Swatches

Open Online Store › Themes › Customize, click the gear icon (Theme settings) at the bottom of the left sidebar, then Swatches.

SettingDefaultWhat it does
Show swatches for options namedColor, ColourOptions with these names show swatches even without Shopify swatches. Comma-separated.
ShapeCircleCircle or Square. Applies to every swatch in the store. In Faber the square option is fully square, like the cells of the sheet; the Faber preset uses it.
Swatch colorsTen example colorsOne per line as Name: color, for example Clay: #c27b56. Used when a value has no Shopify swatch. Also used by color filters. Any CSS color works (#c27b56, rgb(194 123 86)).
Use the variant image when no color is foundOnValues with no color use their variant’s photo as the swatch. Turn off if your variant photos are full product shots that look busy at swatch size.

Swatch colors match the whole value name exactly (capitals don’t matter). “Clay” matches Clay: …, but “Clay matte” does not — add a separate line for it, or rely on the color word “clay” at the end of the name.

On the product page

Product page swatches with a tooltip
  • The selected value has an ink ring. The ring moves the moment the buyer clicks; the price, price breaks, photos and stock follow straight after.
  • The option heading shows the selected name, for example Finish · Smoked oak.
  • Hovering a swatch on a computer shows its name in a small tooltip.
  • Sold-out values are dimmed and crossed with a diagonal line. They can still be selected, so buyers can see the product and use the restock request.
  • Options shown as swatches ignore the variant picker’s Style setting — swatches show even when Style is Dropdown.

On product cards

Add a Swatches block inside the Product card block of any product grid or collection section (it is in the default cards). It shows the product’s first swatch option.

Card swatches
A card while hovering a swatch
  • Hover (or focus with the keyboard) a swatch to preview that variant’s photo on the card. Moving away puts the photo back.
  • Click or tap a swatch to select it. The card keeps that photo, and the card’s links and Choose options quick view open that variant.
  • Space selects a focused swatch from the keyboard.
  • While swatches drive the photo, the card’s second-image hover is paused so it can’t cover the preview.
  • Each swatch has a 24 px tap target and a name tooltip; sold-out values are dimmed and crossed.
Block settingDefaultWhat it does
Maximum swatches6 (3–12)Extra values show as “+N”, linking to the product.

For the photo preview to work, assign an image to each variant in Shopify admin. Values without a variant image still select, but the card photo doesn’t change.

In filters

Color filters on collection and search pages also show swatches. This is controlled under Theme settings › Filters:

SettingDefaultWhat it does
Color filter namesColor, ColourFilters with these names show as labelled swatches. Filters set to Swatch in the Search & Discovery app always show swatches. Add Finish here too if your finish filter should show swatches.
Other variant filtersButtonsHow other option filters (Size, Material…) look: Buttons or Checkboxes.

Filter swatches use the Shopify swatch first, then Swatch colors, then color words in the name. See Collection pages and filters.

Add Shopify swatches in Shopify admin

Shopify swatches are the most reliable source because they are attached to the option value itself.

  1. In Shopify admin, go to Products and open a product.
  2. In Variants, click the option (for example Color) to edit it.
  3. If the option uses a category metafield (for example “Color” from the product’s category), each value can have a swatch: click the value and choose a color or upload an image.
  4. Click Done, then Save.

For colors you use across many products, edit them once in Content › Metaobjects › Color (created by Shopify when you use category options), where each entry has a color and an optional image.

Common questions

My Color option shows buttons, not swatches. One of its values has no look. Add a Shopify swatch, add the name to Swatch colors, or turn on Use the variant image when no color is found and give that variant an image.

My option isn’t called Color. Add its name to Show swatches for options named.

A swatch shows the wrong color. Shopify swatches win over everything else; check the value in Shopify admin. Otherwise add an exact line to Swatch colors, which wins over color words.

Last updated on