How to filter a list based on a select value?

I have a vertical stack of text, and I want to filter the list of items based on an option’s value in a Select component. Are there docs to explain how that is done? I want to do this in Studio