Bricks builder has a native element for the mini cart feature. In this tutorial, I am showing you how the mini cart box pops out automatically after adding a product to the cart.
Login to your Dashboard and go to Bricks -> Settings -> Custom Code tab. Enter the following JS code in the Body (footer) scripts textbox. Or you can create a separate JS file, put the code into the JS file and save it in the child theme folder. Then you will enqueue this JS file with wp_enqueue_scripts hook.