custom emotion widget plugin

Hai, 

I am developing a custom emotion widget plugin for shopware5.

Could you please tell me how to work with controller for the custom widget…
 

Thanks in advance…