Component for buttons

Hello everyone.

Could you please say what component is best for representing buttons. I have ESP8266 which is pushing info that some button with specific id was clicked. I want to catch those events and toggle input boolean.
What would be the best solution?

Maybe a remote?