Tip: in development, you should always try to abstract complex logic into a reusable component.
For example:
Here's a reusable button that supports tooltips, icons, different button display variants, etc. The component abstracts all the logic and exposes the API via props and slots
#tips