It doesn’t take much ::after all
When deciding how to implement a tooltip, you have two paths from which to choose: using a library that provides a pre-built tooltip component or creating one yourself.
There is no shortage of libraries that provide tooltip components and popular choices like Material UI and Vuetify make implementation both quick and easy. However they come at a cost as your project must import them which will take time and space. And you may have to overwrite or re-write some part of the CSS to get the exact style you desire.