How to build custom filter based on the product variants option like size and color

how to build custom filter based on the product variants option like size and color.
I am using the shopify 2.0 theme.

need to build more custom filter.

Hey @ErSanjay

The steps are documented here - https://shopify.dev/docs/themes/navigation-search/filtering/storefront-filtering

Let me know if you have any specific questions! :slightly_smiling_face:

@SBD Thank you for your answers.

I want to create two separate filters on my storefront side. horizontal shows only the size option.

verticle filter show all the filter.

I am using the search and discovery app I can create only one filter.

I also reach out to the support team they do not help me a lot.

i see the code for that