Only show certain '_tags' attributes

This is my current setup for my refinementList. I’m trying to only show particular tags that are filterable. Example would be showing featured, rising, top and not say sports or teams. Is this doable?

refinementList({
    container: '#filters',
    attribute: '_tags',
}),

To achieve this you can use the transformItems attribute https://www.algolia.com/doc/api-reference/widgets/refinement-list/js/#widget-param-transformitems

Just return an array filtered on the items you want to display:

refinementList({
    container: '#filters',
    attribute: '_tags',
    transformItems(items) {
       return items.filter(item => /* you filtering logic */);
    },
})