Show the difference on your HubSpot pages
Get the Before After Image Slider from the HubSpot Marketplace and add it to any page in minutes.
Show the change, not just the result. A drag-to-compare slider for HubSpot pages: renovations, retouched photos, redesigns and client results in one gesture.
Works in any HubSpot theme · Fully editable from the Styles tab · Accessible · No libraries
Renovation
Drag the handle to compare the room before and after the renovation.
Install it once and use it on any page, whatever theme your site runs on. It takes your theme fonts and your brand colour by default, and you can change every detail.
Self-contained CSS and JavaScript with prefixed classes, so it never clashes with your theme. Fonts left empty use the fonts of your site.
Four handle shapes, three icons, divider, labels, corners, border, spacing, layout and image shape, all from the Styles tab.
The handle and the after label take the primary colour of your HubSpot brand kit. Icon and label text switch to black or white for contrast.
Compare left and right or top and bottom. Put the text above, below or beside the images, or show the images alone.
Keyboard support with arrows, Page Up, Page Down, Home and End, a real slider for screen readers, and reduced motion respected.
Vanilla JavaScript, no jQuery and no external libraries. Mouse, touch and pen. Add as many sliders as you like to one page.
These three sliders are the same module with different settings in the Styles tab. Drag them, or use the arrow keys.
Vertical
Vertical direction, pill handle with chevrons and labels at the bottom.
Dark style
Dark handle with grip lines, square corners and labels as written.
Minimal
No handle, no labels and a follow-the-pointer mode on desktop.
Any business whose work is easier to show than to explain.
Builders, interior designers and architects showing a space before and after the work.
Agencies comparing an empty property with home staging, or a plan with the finished build.
Photographers and studios proving the value of their editing, colour grading and restoration.
Agencies showing the old and the new version of a client's site in their case studies.
Clinics, salons and dentists presenting treatment results, with the consent of their clients.
Cleaning, repair and software companies comparing a dashboard, a surface or a product before and after.
Tip: use two images with the same size and framing, for example two photos taken from the same spot.
Does it work with my theme?
Yes. The module brings its own CSS and JavaScript with prefixed class names, so it works in any HubSpot theme, including marketplace themes and custom ones. It uses your theme fonts unless you choose others.
Can I use it more than once on the same page?
Yes. Every slider works on its own and keeps its own settings, so you can add as many as you need.
Does it work on mobile?
Yes. Visitors drag with a finger on touch screens, the page still scrolls normally, and text placed beside the images moves above them on small screens.
Is it accessible?
The handle works as a slider for screen readers and with the keyboard: arrow keys, Page Up, Page Down, Home and End. The hint animation is skipped for visitors who prefer reduced motion. Remember to fill in the alt text of both images.
Can I match my brand?
Yes. The handle and the after label start with the primary colour of your HubSpot brand kit, and every colour, font, size and corner can be changed in the Styles tab.
Does it need any external library or account?
No. It uses plain JavaScript, with no jQuery, no external libraries and no third-party accounts.
Where can I get help?
Write to hola@digitalmakers.cat. We answer in English, Spanish and Catalan.
Get the Before After Image Slider from the HubSpot Marketplace and add it to any page in minutes.