Simulate a custom loading state when an element is clicked.
View demo projectCreating the Make.com Scenario
1. Download the JSON blueprint below to get stated.
2. Navigate to Make.com and Create a New Scenario...
![](https://cdn.prod.website-files.com/5bbfaf3252489b4c484ba9b9/648c5b1fbc7994f029551c78_Screen%20Shot%202023-06-16%20at%208.51.21%20AM.jpg)
3. Click the small box with 3 dots and then Import Blueprint...
![](https://cdn.prod.website-files.com/5bbfaf3252489b4c484ba9b9/648c5b29e80e81cad00f11c8_Screen%20Shot%202023-06-16%20at%208.51.33%20AM.jpg)
4. Upload your file and voila! You're ready to link your own accounts.
Need help with this MemberScript?
All Memberstack customers can ask for assistance in the 2.0 Slack. Please note that these are not official features and support cannot be guaranteed.
Join the 2.0 SlackHow to Display a Custom Loading Animation
Memberscripts needed
https://www.memberstack.com/scripts/14-create-loading-state-on-click
Tutorial
Cloneable
https://webflow.com/made-in-webflow/website/delete-update-js-items
Why/When would need to Display a Custom Loading Animation?
- Improving User Experience: They provide a visual cue that something is happening, especially important during longer loading times.
- Branding: Custom animations can be tailored to match your brand's style and personality.
- Feedback for User Actions: Useful in forms, submissions, or any process that requires a wait time, reassuring users that their action is being processed.
- Enhancing Aesthetics: They add a creative and polished look to your site, making it stand out.
- Reducing Perceived Wait Times: A well-designed animation can make a wait seem shorter than it actually is.
Why Use Custom Loading Animations?
Custom loading animations are a simple way to up your user experience game. They let users know something is happening and can be a fun way to brand an interaction. Loading animations can even improve retention by reducing perceived wait times.
Implementing a Custom Loading Animation in Webflow
To add this feature, we’ll use a MemberScript. The script will display a custom loading animation for a fixed duration when users interact with specific elements on your site.
1. Choosing or Creating Your Animation
First, decide on the style of your loading animation. It should align with your website's design and brand identity. You can either source an animation from somewhere like LottieFiles, or create your own. If you’re creating your own animation for Webflow, you’ll find the most support and documentation for Lottie JSON files. Once you have your animation, upload it to your Webflow assets and include it on the page where you’d like it displayed.
2. Configuring Your Animation’s Display
Once your animation is ready, add MemberScript #14 - Create Loading State on Click by following the script’s tutorial. Don’t forget to adjust how long your animation displays at the end of the script if appropriate.
3. (Optional) Repeat!
Our MemberScript supports multiple triggers per animation and multiple animations on a page. Feel free to get creative by adding different animations for different user actions and reusing animations across actions.
Conclusie
A custom loading animation is more than just a visual element. It can be a simple yet effective way to improve user experience. By following these steps and using the MemberScript, you can create a more engaging and visually appealing website with Webflow.
Check out the cloneable if you’d like to work with the example in MemberScript #14’s tutorial! It uses custom loading animations on the “Success” page when items are added or removed.
![](https://cdn.prod.website-files.com/5c2a9a234fdbba7439c48fa4/6567578e0659e1717ff3365d_p6m26ojAbjUW30AVS_7qML008d8GMuNWMgy4C8nFF-hzLkEv6yuNPHkmab--7GDdmfxBwG0hfKMQ1whyXNWp7oVkzZuabfW6Yt252qWiOG9ZdaxDEwX9w1kpfS_7jdkkcCyTMh5HEkP2nf-GyZrLM8I.webp)
Take me to the Scripts
https://www.memberstack.com/scripts/14-create-loading-state-on-click