An interaction is any kind of visual movement or response that happens between a user and a website.
This could include an element sliding into view, growing on hover, or changing position as the user scrolls.
In Droip, an interaction is made up of two components:
Trigger – What initiates the animation (e.g., click, hover, scroll).
Animation – The visual effect that is performed in response.
Triggers determine when an animation starts. In Droip, there are two categories of triggers:
These are tied to specific elements on your page and activate when users interact with those elements.
Available Element Triggers:
You can trigger an animation on the same element or on a different one based on your setup.
These are activated by changes in the overall page state.
Available Page Triggers:
For an Element Trigger: Select the element (or group of elements), then click the + icon next to Interactions on the style panel.
For a Page Trigger: In the Layers panel, select Page, then click the + icon next to Interactions on the style panel.
Once added, you’ll get specific configuration options depending on the trigger type.
For example, with Mouse Click (Tap), you can set different animations for the first and second clicks.
After defining the trigger, you can proceed to define the response (animation) that occurs when the trigger is activated.
Response Options:
The Library offers ready-made animation presets, including: Fade, Slide, Light-Speed, Flip, Bounce, Swing, Tada, Wobble, and more.
Each animation comes with configuration options like:
Click Set New to launch the Timeline Editor. The Timeline Editor lets you create a custom response using precise controls.
How it works:
Target Elements appear on the left. To add one, select the target element from the canvas.
Choose an action. Action icons are located above the Timeline and are basically style attributes like color, move, scale, size, etc., that you can alter for your target element in response to the trigger.
Similarly, when you hover your mouse over the timeline, a vertical blue line with a plus + icon will appear. This indicates where a new animation action can be inserted. Clicking the plus icon opens a dropdown with various animation actions you can apply, such as Move, Scale, Rotate, Opacity, and more.
You can also choose Variable Mode from this list to assign it as an action. This allows you to animate a property based on a variable, perfect for creating responsive animations that adapt to user-defined or dynamic values.
Once added, the new action will appear as a block on the timeline where you can further adjust its start and end time, as well as edit its properties.
Editing:
Click on any timeline action to select it.
Drag its start/end points to control when it happens. Or you can specify the value in percentage at the bottom of the timeline. For example, if you set:
It means the animation will begin slightly after the animation starts (at 2%) and finish just before the end (at 95%). This gives you precise control over the timing of each animation within the overall interaction.
Set keyframe values for properties like size, position, or opacity.
Example: If you’re animating the opacity of an element:
This will create a smooth fade-in effect that happens between 2% and 95% of the animation timeline
Tools:
Example Workflow:
To animate an element’s size during scroll:
You can also click on a target to:
You can control which devices an animation should run on.
This ensures your animation only runs on selected screen sizes, helping you create responsive and performance-optimized experiences.
To reuse the same interaction across multiple elements sharing a class:
Now, all elements with that class will automatically inherit the same animation for the same interaction event.
This is especially useful for repeated components like cards, buttons, or list items, where you want consistent animation behavior across the board, without having to manually animate each element.
The Custom Timing Editor lets you define your own easing curves and animation pacing.
With the Custom Timing Editor, you can define a custom easing curve and set keyframe values to create a more natural and dynamic animation.
Using the Graph:
You can also:
By experimenting with different styles, you can create unique and engaging animations that will make your website stand out.
Here’s how to use the graph to create different timing function styles:
Was this page helpful?
Our website uses cookies to improve your browsing experience on our website. By continuing to use this website, you agree to their use. For details, please check our Privacy Policy.
Experience Droip in Action – Explore a live-built page and see the power of our builder in action.
Explore Live