you can do this sort of animations just in css alone too...
but if you want to import the component then you can try the markdown component. This is very suboptimal though, if you plan on making a screen with a lot of these indicators, then you should do something different. (like creating a custom perspective component)
i've made some posts about js injection.
this one might be interesting