Webflow cloneable

CMS Slider Splide.js Webflow Cloneable

Enhance your Webflow project with the CMS Slider Splide.js Cloneable by Anil Pervaiz. Seamlessly integrate dynamic content or static images with ease. Save time on coding while boosting visual storytelling and engagement.

CMS Slider Splide.js on a desktop screen
CMS Slider Splide.js on a phone
Screenshots of the live preview, Nov 7, 2026 Open live preview

About cloneable

The CMS Slider Webflow Cloneable, designed by Anil Pervaiz, provides a seamless integration of a sophisticated slider functionality into any Webflow project, utilizing the lightweight and versatile Splide.js library. This cloneable comes equipped with both CMS capabilities and a simple slider option, catering to a range of user needs from dynamic content display to straightforward image galleries.

By implementing this cloneable, Webflow users can enhance their website’s visual storytelling and interactivity. The CMS Slider allows users to effortlessly sync their slider with Webflow’s CMS Collections, making it easy to display dynamic content such as featured images, articles, or portfolio pieces in an engaging manner. The simple slider option serves as a perfect solution for showcasing static images or promotional banners without the complexity of CMS integration.

The integration of Splide.js not only provides aesthetic customization but also ensures responsiveness across devices, thanks to tailored configurations through its JavaScript options. The implementation of styles such as .splide__track ensures that content remains visually appealing, allowing elements to overflow in a controlled manner for an enhanced user experience.

This cloneable stands as an invaluable asset for Webflow users, offering a ready-to-use slider solution that saves time on coding while enhancing the overall functionality and appearance of websites. Users gain the ability to create dynamic, visually striking layouts that encourage user engagement, all while maintaining control over design through custom CSS integrations.

About CSS

How does the CSS class .splide__track function within Webflow?

The .splide__track class is part of the Splide.js library, which is a lightweight slider and carousel plugin. In this specific CSS code, the overflow: visible; property is applied to elements with the class .splide__track. This means that any content that extends beyond the bounds of the element will be displayed instead of being clipped. In the context of a slider, this can allow elements like images or text to extend beyond the slider's container, enhancing visual impact or providing additional context. Developers using Webflow can integrate this CSS class when implementing Splide.js to ensure a more visually appealing layout.

How can I integrate Splide.js with Webflow and CSS styles like .splide__track?

To integrate Splide.js with Webflow, you first need to ensure that you include the Splide.js library in your project's custom code settings. After that, you can create a slider structure in Webflow, adding the appropriate classes (like .splide__track, .splide__list, and items). You would then apply the provided CSS (including overflow: visible;) either in Webflow's custom CSS field or an external stylesheet that is linked in your project. This integration allows you to fully utilize the capabilities of Splide.js while still having control over the design and layout through CSS adjustments.

What are the implications of using overflow: visible; in a slider environment in Webflow?

Using overflow: visible; in a slider environment, such as one powered by Splide.js in Webflow, allows for more dynamic and engaging visuals. It lets content overflow the boundaries of its container, which can be useful for hover effects, tooltips, or when displaying decorative elements that should not be clipped. However, developers must be cautious with this approach, as it may lead to layout issues or visual elements overlapping other content improperly if not managed correctly.

Is there a downside to using external libraries like Splide.js with custom CSS in Webflow?

One potential downside to using external libraries such as Splide.js with custom CSS in Webflow is the increased complexity it introduces. Developers may need to learn the specific API and structure of the library in addition to Webflow's own styling capabilities. Moreover, not all external libraries may be fully compatible with the elements generated by Webflow, which could lead to conflicts. It’s essential to test the integration thoroughly to ensure functionality and performance are not adversely affected.

About Javascript

How does the JavaScript code integrate Webflow with Splide.js for creating sliders?

This JavaScript code uses the Webflow library and Splide.js to set up a responsive slider (designated as 'slider1') on a web page. The <script> tag for Webflow includes necessary functions and configurations that Webflow needs to manage elements within its platform. The second <script> tag imports the Splide.js library, which is a lightweight JavaScript slider framework that allows developers to create carousels and sliders quickly and efficiently.

What is the purpose of the slider1 function in the JavaScript code?

The slider1 function initializes the Splide slider for all elements with the class slider1. It uses jQuery (denoted by $) to select these elements and loops through each instance to create a new Splide slider. Each slider is configured with various options such as the number of items displayed per page, transition speed, and behavior on different screen sizes.

What are the key options configured for the Splide slider in this JavaScript code?

The key options configured for the Splide slider include:

  • perPage: Specifies how many slides to show per page (set to 1).
  • focus: Defines which slide should be focused (0 means the leftmost slide).
  • type: Determines the style of the slider, either 'loop' (slides repeat in a loop) or 'slide' (navigates without looping).
  • gap: Sets the spacing between slides (set to '2em').
  • arrows and pagination: Control the display of navigation buttons (set to 'slider').
  • speed: Sets the transition speed for sliding (600 milliseconds).
  • breakpoints: Allows for responsive configurations at different screen sizes (specifically tailored for tablets and mobile devices).

How does the breakpoints property facilitate responsive design for sliders in Webflow?

The breakpoints property ensures that the slider behaves appropriately on various device sizes. Developers can define specific settings or features for different screen widths (e.g., above 991px for tablets, 767px for mobile landscape, and 479px for mobile portrait). This allows for a tailored experience where the slider's functionality can adapt to user screens, ensuring an optimal experience across all devices.

Is jQuery essential for the functionality of this slider code, and how is it leveraged in the implementation?

Yes, jQuery is pivotal for selecting DOM elements in this code. It is utilized through the $ function to select all elements that share the class slider1. This allows the code to loop through each selected slider instance, creating a new Splide instance for each one. While Splide.js doesn't require jQuery, using jQuery makes it easier to manipulate and work with the DOM when implementing multiple sliders.

Can this code be used directly in a Webflow project, and what considerations should a developer have?

Yes, this code can be integrated into a Webflow project, as Webflow supports custom scripts. Developers must ensure that they place the custom code in the appropriate location within the Webflow project—either in the page settings or site settings. Additionally, they should confirm that both the Webflow and Splide.js scripts are loaded correctly without conflicts. It's also advisable to thoroughly test the slider on various devices to ensure responsiveness and performance meet expectations.

Similar cloneables

All cloneables →
Interactions Vertical Marquee Text Scroll
Interactions Vertical Marquee Text Scroll Elevate your Webflow site with Vertical Marquee Text Scroll cloneable. Add dynamic vertical infinite scroll effects effortlessly. Engage visitors with masking hover effects for an interactive experience. Stand out with this unique design element.
Clone
Three.js Bubble Animation
Three.js Bubble Animation Enhance your website with a captivating Three.js Bubble Animation with this Webflow cloneable. Engage visitors with a dynamic, interactive background that responds to mouse movements. Stand out with this creative design element for a playful user experience.
Clone
Parallax Background Animation
Parallax Background Animation Enhance your website with the Parallax Background Animation Webflow cloneable. Create a 3D parallax effect with multi-layered "tunnel" and text movement for engaging user experience. Elevate your site with interactive elements.
Clone
FAQ Accordion Interaction
FAQ Accordion Interaction Enhance user experience with this responsive FAQ Accordion Webflow cloneable. Organize and display FAQs effectively with smooth interaction design. Perfect for improving user engagement and user-friendly interface. Ideal for various industries. Easy navigation for important information.
Clone
GSAP Mouse Image Trail Effect
GSAP Mouse Image Trail Effect Enhance your website with the Mouse Image Trail Effect Webflow cloneable. Created by Flux Academy, this interactive feature allows images to follow the cursor, boosting engagement and creativity. Elevate your design and create a memorable user experience.
Clone
Swiper.js GSAP Slider
Swiper.js GSAP Slider Enhance your website with the "Meet The Team" Webflow cloneable, featuring interactive team sliders and custom animations for a polished presentation. Elevate user experience with responsive design, stylish typography, and seamless navigation. Ideal for showcasing team dynamics and expertise.
Clone
Sticky Sections on Scroll
Sticky Sections on Scroll Enhance your Webflow project with Sticky Sections Webflow cloneable by Duncan Hamra. Effortlessly create engaging scrolling effects and maintain visual interest with `Position: Sticky` elements. Optimize user experience and site navigation with this customizable template.
Clone
Swiper.js Scroll into View Animation
Swiper.js Scroll into View Animation Enhance user engagement with the Swiper slider lectures animations Webflow cloneable by Halo Lab. Draggable, smooth transitions, speed control, and responsive design for dynamic content showcasing. Perfect for adding interactive elements with captivating animations for a modern website UX.
Clone