Before / After Slider
Last updated: January 11, 2026
Replo supports creating a component where users can drag between two different components.
Before / After Slider Contents
There are three parts of the Before / After slider:
The "Before" content
The "After" content
The "Slider control"
The "Slider control" is the component that users are able to drag to swipe between before and after. The before content, after content, and slider control are just Containers, so they can contain most types of Replo components - images, other containers, complex layouts, products, etc.
Adding a Before / After Slider
Select "Components" from the left side of the editor
Search "Before / After"
Drag the "Before / After Slider" card into the page
Advanced Configuration
By selecting "Config" for the Before / After slider, you can control several details. For example:
You can change the slider from horizontal to vertical orientation
You can set the initial slide position
You can configure the slider to automatically slide when the user hovers over it, so that they don't have to press down their mouse