Add the Loader element to your Bubble page. It's that easy!
If there is a loader element on the current Bubble page you can use the show and hide actions from any where in your app including reusables!
Editor link:
https://bubble.io/page?type=page&name=index&id=1t-loader-demo&tab=tabs-1