Opens in a new tab
Interaction Essentials

Triggers, actions and targets

Each interaction consists of a trigger, an action and a target. All set through an easy-to-use visual interface. Typical interactions are open a popup, show or hide content, toggle classes or attributes on scroll, click, hover, viewport enter or leave, and more.

Learn more about Interactions
A collage showing the interaction trigger dropdown content containing click, hover, focus, blur and more triggers along some product cards.

Interaction Trigger

Respond to clicks, hovers, scrolling, and other browser events.

Use Filter Submit (Start/End) to show a loading indicator during an AJAX filter submission or close a filter panel when the request finishes.

With WooCommerce, show a popup after a successful cart item addition, removal, or quantity change.

A collage showing the interaction action dropdown content containing show/hide element, set/remove/toggle attribute, start animation and more actions along some product cards.

Interaction Action

Perform specific and highly customizable actions in response to your interaction trigger. Actions like show/hide an element or popup, setting HTML attributes, running animations, or dynamically loading query loop results.

A collage showing a product popup containing the product image, product information and an add to cart button besides a popup settings screenshot.

Interaction Target

Specify the element that your interaction should target. Whether it's the element itself, a custom CSS selector, or a popup – you control the impact of your interactions with absolute precision.

Bricks interaction settings show 50% element visibility, root margin and a fadeInUp animation beside the selected Studio North card.
Viewport interactions

Control when viewport interactions run

Start an animation when half of a card becomes visible, rather than as soon as its edge enters the viewport. Set the visible percentage, adjust the detection boundary with root margin, and use a custom CSS selector when the action should affect another element.

Explore interactions

A small but fine selection of common  interactions

Hover me
(animate)
Click me
(open popup)
Click to show/hide
(toggle attribute)

I am an alert. Visible as you’ve clicked on the toggle interaction above. Click the toggle again to hide me.

A collage showing the interaction conditions: if the browser storage key matches a certain value, the popup is displayed.
Interaction Conditions

Get even more granular with interaction conditions

Not only can you set up unlimited interactions, you can also define interaction conditions. So your interactions are only performed when those conditions are met.

Unlock advanced capabilities by setting conditions based on browser storage (window, sessionStorage, localStorage).

Learn more about interaction conditions

Ready to make your sites pop?

Experience Bricks and its capabilities yourself before purchasing it over at the free playground. Or become part of our community of passionate builders today by getting your own license and take your website building journey to the next level!

Just a popup

Triggered by a "click" interaction. Click the close icon, popup backdrop or press ESC to close this popup.

Explore popups