# Swatches and images for product filters — Shopify developer changelog
---
## Swatches and images for product filters

As of version 2024-04 of the Storefront API, you can use new attributes of the Filter and FilterValue objects to create [visual filters](https://help.shopify.com/en/manual/online-store/search-and-discovery/filters#visual-filters) for your custom storefront.

We are adding [`FilterValue.swatch`](https://shopify.dev/docs/api/storefront/2024-04/objects/FilterValue#field-filtervalue-swatch) intended for color and pattern swatches and [`FilterValue.image`](https://shopify.dev/docs/api/storefront/2024-04/objects/FilterValue#field-filtervalue-image) for more detailed imagery. Use the new [`Filter.presentation`](https://shopify.dev/docs/api/storefront/2024-04/objects/Filter#field-filter-presentation) attribute to know the intended display of each filter.

Merchants must use Shopify's [Search & Discovery app](https://apps.shopify.com/search-and-discovery) to set visual filters for their store.

*Published: March 14, 2024*
Tags: API, New
Link: https://shopify.dev/changelog/swatches-and-images-for-product-filters

---