Can I implement these components on the discourse/other cms?

I would like to try to implement such a component as the one on the forum discourse that I’m building.

Someone will tell you how to do it ? is it enough to install the npm package in the right container and that’s it ?

I don’t really know how to do it. I mean if I want to add something simple like nice buttons, tooltips like it

or somethink like it:

So how do I change templates etc ? ca you help me? From the administrator’s panel I can only add css styles but it’s probably not enough

I ask here because you also have forums on discurse

anybody is here???