--- title: VariantOptionFilter - Storefront API description: The input fields for a filter used to view a subset of products in a collection matching a specific variant option. api_version: 2025-01 api_name: storefront type: input-object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/2025-01/input-objects/variantoptionfilter md: https://shopify.dev/docs/api/storefront/2025-01/input-objects/variantoptionfilter.md --- # Variant​Option​Filter input\_object The input fields for a filter used to view a subset of products in a collection matching a specific variant option. ## Fields * name [String!](https://shopify.dev/docs/api/storefront/2025-01/scalars/String) non-null The name of the variant option to filter on. * value [String!](https://shopify.dev/docs/api/storefront/2025-01/scalars/String) non-null The value of the variant option to filter on. *** ## Input objects using this input * [Product​Filter.variantOption](https://shopify.dev/docs/api/storefront/2025-01/input-objects/ProductFilter#fields-variantOption) INPUT OBJECT The input fields for a filter used to view a subset of products in a collection. By default, the `available` and `price` filters are enabled. Filters are customized with the Shopify Search & Discovery app. Learn more about [customizing storefront filtering](https://help.shopify.com/manual/online-store/themes/customizing-themes/storefront-filters). *** ## Map ### Input objects using this input * [Product​Filter.variantOption](https://shopify.dev/docs/api/storefront/2025-01/input-objects/ProductFilter#fields-variantOption)