How to have a search option that will display the buttons

For example if i searched “button1” then it will show results of “button1” and when i click button 1 it will load the all the codes that i have given to this component in blocks mode .

Thank You …

This guide will help you to implement a search function in your app.

Thank you @Maayur but i need something to search my buttons component not to search a predefined list .

Then make list of button and use it. Else if you are using dynamic Components then save the I’d of button and use them.

Can you please tell me how to use list items as buttos to load webpages
Thank you for your help.