Create Filter for categories

I created a classifieds page with the CMS feature however, I would like to filter the categories with something like the attached screenshots

Any thoughts? Thanks

Filter your search by our categories:

I think this answer from April may still be up-to-date

Thanks for the link, let’s check it out