Webflow doesn't offer a built-in preloader tool like Pace.js, but you can create a custom logo animation preloader using Webflow’s native interactions and animations.
1. Build the Preloader Element
- Create a new
div and name it something like Preloader. - Set position to fixed, width/height to 100%, and z-index to a high value (e.g., 9999).
- Give it a background color if needed.
- Add your logo (as an image, SVG, or vector element) inside the div and style as desired.
- This element will cover the viewport and display the logo animation.
2. Animate the Logo
- Use Webflow’s Interactions panel (IX2) to animate your logo.
- Trigger an animation on page load (Page Trigger: Page Load → When Page Starts).
- Apply a loop animation if you want the logo to pulse, rotate, etc., while the page loads.
3. Hide Preloader After Page Loads
- Add another Page Load interaction: Page Load → When Page Finishes.
- Create a new timed animation that:
- Fades out the Preloader element (e.g., reduce opacity to 0).
- Optionally set display: none after the fade-out with a delay using a timed step.
4. Optional: Optimize for Performance
- Disable scrolling via custom CSS while the preloader is visible, then re-enable after hiding it.
- If you're using heavy animation, ensure it doesn’t block rendering (keep it lightweight and use GPU-accelerated properties like
transform and opacity).
5. Advanced: Add External Pace.js (if Needed)
- If you prefer to use Pace.js over Webflow’s interactions:
- Insert the Pace.js script via Page Settings → Before </body> or use Custom Code Embed.
- Modify the default Pace.js CSS and script to show your custom logo as the loading animation.
- This requires coding knowledge and custom CSS/JS outside Webflow’s visual builder.
Summary
You can build a fully custom logo preloader inside Webflow using interactions and animations. While Webflow doesn’t support Pace.js natively, you can recreate a similar experience visually, or embed external tools via custom code if needed.