Tutorials
January 23, 2025

How to add a Before & After Image Slider to Framer

Learn how to add a beautiful before and after image slider to your Framer projects. Customize all aspects including handles and labels directly in Framer.

Back to Blogs

Compare two images with this beautiful before and after image slider.

Our before/after image slider for Framer is the perfect tool for letting users compare two images in an interactive and engaging way. By sliding a divider left or right, users can reveal one image over the other. This type of slider is ideal for showcasing transformations, improvements, or comparisons, making it a popular feature in web design.

How does it work?

1. Copy the Component to Framer

To add the component to your project, simply copy the following component link

https://framer.com/m/Before-After-n0pn.js@8Ae8OoMAv5FTlgdFbkjS

Alternatively, you can remix our project here 👉
https://framer.com/projects/new?duplicate=amSEPZ7vexxhZqjrgreQ

2. Paste Component into Framer Canvas

Once you've copied the URL, navigate to your Framer project and paste the link directly into your canvas using CTRL + V (or CMD + V on Mac). The component will appear in your project and is ready to use right out of the box.

Paste the component into your Framer canvas
3. Add Images & Customize!

After adding the component, add your images and start customizing. Framer’s intuitive interface allows you to tweak various properties to make the slider fit your project’s style.

Here are some customization options you can explore:

  • Use custom handles for the slider to match your design.
  • Add custom labels to give the slider a unique feel.
  • Adjust colors, typography, and other styles to fully integrate the slider into your product.

Make it your own and let your creativity shine!

Customize the slider as you like
Did you find this helpful? 💕

Your support means the world to us! In just 10 seconds, you can make a big difference:

Thank you for being awesome! 🌟