Before After Slider Widget for Website. Mobile-Touch - Poper
Before/After Slider Widget

Before/After Sliders that show the transformation.

Drag-to-reveal image comparison sliders with mobile touch support, five layouts, and horizontal or vertical wipe options for supported layouts.

No credit card required
14-day free trial
Cancel anytime

Built for builder website teams

Timetics
Academie Digitale
Goldcast
nbcf
Seedstock
Wow
Linkxar
Gale Toyota
Skills
Rugby Sport
Lamp
Leaktronics
Steel
Theatre in Chicago
Globerto
Meetup
FYM
Zeben
Kraftix
IETraditionala
Meethires
Leadscrape
Happily
Timetics
Academie Digitale
Goldcast
nbcf
Seedstock
Wow
Linkxar
Gale Toyota
Skills
Rugby Sport
Lamp
Leaktronics
Steel
Theatre in Chicago
Globerto
Meetup
FYM
Zeben
Kraftix
IETraditionala
Meethires
Leadscrape
Happily
Available on Poper plans

Try the live before/after slider

Live demo, not a screenshot. Drag the handle, switch orientation, restyle the handle. What you see here is what ships to your site.

Before and after Poper

See the widget live on a real page.

Here is the widget embedded on a real page layout, before and after. Style it to match your brand, then copy one snippet to go live.

example.com (before)
Generic portfolio page with two static side-by-side photos labeled BEFORE and AFTER, no interaction, Available widget settings, no engagement signalBefore
Generic portfolio page with two static side-by-side photos labeled BEFORE and AFTER, no interaction, Available widget settings, no engagement signal
example.com (after)
Photographer portfolio acmestudio.photo with embedded interactive Poper before/after slider revealing editorial portrait retouch via mid-image drag handle, Measure impact with your own analyticsPoper widget live
Photographer portfolio acmestudio.photo with embedded interactive Poper before/after slider revealing editorial portrait retouch via mid-image drag handle, Measure impact with your own analytics

Mockups for illustration. Style the widget to match your site and embed in 90 seconds.

How to use it

How to add a before/after slider to your website

Three setup steps in the Poper builder.

  1. 01

    Upload your before and after images

    Upload your two images into the Poper builder. A live preview shows the drag-handle comparison as you work.

    Poper builder showing two image upload zones (Before and After) plus a live drag-handle preview slider
  2. 02

    Pick a layout, orientation, and handle color

    Choose from five layouts (Classic, Glass Focus, X-Ray, Flashlight, Vertical), set horizontal or vertical wipe on the standard layouts, tint the handle to your brand color, and set the slider thickness.

    Layout picker with five thumbnails (Classic, Glass Focus, X-Ray, Flashlight, Vertical) plus a control row for handle color, slider thickness, and orientation
  3. 03

    Copy the snippet and embed

    Paste the Poper embed snippet into your site. Works anywhere your Poper embed snippet is supported. Mouse drag and touch drag both work out of the box.

    Code editor with embed snippet, teal Copy button, copied confirmation toast, and supported platform tiles

Works everywhere

Works with every website platform you already use

Drop-in install on WordPress, Shopify, Wix, Squarespace, Webflow, Framer, Ghost, and any HTML-friendly stack. No build step, no developer needed.

WordPress
Shopify
Wix
Squarespace
Webflow
Framer
Ghost
HTML

Plus 250+ other platforms via the embed snippet. If your site can render a <script> tag, it can render the Before/After Slider Widget: Drag-to-Reveal Image Comparison for Your Site.

What you get with Poper Before/After Slider

Six things that matter when you are paying for a before/after widget, not 30 features no one uses.

Drag-to-reveal interaction that stays smooth

Many before/after sliders feel laggy on mobile because they re-render too much during touch movement. Poper uses CSS-based reveal techniques for the wipe, but you should still test the final slider with your real images and target devices.

Five layouts, horizontal or vertical

Classic split, Glass Focus, X-Ray, Flashlight, and a dedicated Vertical layout. Horizontal wipe suits landscape rooms, dental smiles, and website screenshots; the Vertical layout suits full-body fitness photos and tall portrait shots. Switch layout or orientation in the dashboard through the normal publish flow.

Hover-reveal layouts

The X-Ray and Flashlight layouts reveal the second image as the visitor moves their cursor.

Brand-match handle

Tint the drag handle where the selected layout supports it; slider-thickness controls vary by layout.

Mobile touch ready

Single-finger drag wipes the slider on phones and tablets. Test drag behavior with your real images and devices before publishing.

Lightweight, Lightweight embed setup

Validate performance and layout behavior on your own page after embedding.

Use cases

Where Before/After Slider Widget: Drag-to-Reveal Image Comparison for Your Site actually moves the needle

Four buyer types who get the most lift from embedding Before/After Slider Widget: Drag-to-Reveal Image Comparison for Your Site on their site.

Photographer before/after retouch slider revealing raw unedited portrait on the left versus color-graded retouched final on the right with amber drag handle

Photographer and retouching portfolios

Show your before/after retouching skill on portfolio pages with an interactive reveal instead of a static side-by-side image.

Home renovation kitchen remodel before/after slider showing dated 1987 brown cabinet kitchen on the left and modern white-cabinet teal-island kitchen on the right with amber drag handle

Home renovation and remodelers

Drag-to-reveal before/after of kitchens, bathrooms, and full-room renovations. Use the slider on project pages so visitors can inspect the change themselves.

Cosmetic dermatology before/after skin treatment slider with a drag handle, shown on a clinic portfolio page

Cosmetic clinic and dermatology

Treatment-result comparisons that let prospective patients drag to see the change for themselves. Always obtain informed consent that explicitly authorizes web display before publishing any patient image.

Website UX redesign case study slider showing cluttered late-2010s acmebank.com BEFORE versus modern spacious AFTER with amber drag handle in designer portfolio context

Website and UX redesign case studies

Show old website screenshots vs your new design with a draggable handle. Use the draggable comparison to show the redesign clearly inside a case study.

Poper vs other before/after slider widgets

Most before/after sliders ship the basics and paywall the layouts and styling that make the slider feel native. Here is how the popular ones stack up.

 Recommended
Poper
Elfsight Before-After
POWR Comparison Slider
Poper workspace available
500 views/mo
Trial only
Horizontal wipe orientation
Vertical wipe orientation
Paid only
Ready-made layout presets
5 layouts
Paid only
Few layouts
Mobile touch drag
Hover-reveal layouts
Validate performance on your own page after embedding
Paid only
Available widget controls
Paid only
Paid only
Performance validation
Test on page
Test on page
Test on page
Pricing (entry paid plan)
Plan details vary
Vendor pricing varies
Vendor pricing varies
Works alongside other Poper tools

Comparison reflects external competitor positioning. Verify current details on each provider's site.

Implementation-focused setup notes.

Renovators, dermatologists, fitness coaches, and photographers who switched to Poper.

Project proof on page
Adding Poper before/after sliders to our renovation portfolio page helped visitors compare project images directly on the page.
Sara Mitchell
Sara Mitchell
Creative Director · RenovateLab Studio
Smooth on mobile
We use the slider for our dermatology treatment galleries. The drag wipe stays smooth on phones, which is where most of our patients browse, and prospective patients can see the change for themselves.
Dr. James Wilson
Dr. James Wilson
Medical Director · Northglen Dermatology
Vertical wipe layout
We use the Vertical layout for full-body fitness transformations, where a left-to-right wipe would feel wrong. We validated the published page after embedding on our own devices.
Maria Garcia
Maria Garcia
Frontend Lead · FitTransform Coaching

Pricing

Simple, yearly pricing. Save up to 40%.

All plans are billed yearly. Each card shows the per-month equivalent. Start free, then upgrade only when you need more campaigns, websites, or AI credits.

Yearly billing · save up to 40%

Starter

Essential lead capture for solo creators and growing businesses.

$15/mo

billed $180/year

  • 5 active campaigns (5 widget instances)
  • 1 website, 1,000 leads/mo
  • 100+ templates, 10+ display formats
  • Smart triggers & basic analytics
  • No Poper branding
  • 500 AI credits
Start with Starter
Most popular

Pro

Full engagement suite with A/B testing, gamification & unlimited leads.

$29/mo

billed $348/year

  • Everything in Starter
  • Unlimited campaigns & leads
  • 10 websites, 5 team seats
  • A/B testing & gamification
  • Multi-step forms & quiz builder
  • Custom domain (CNAME), 2,000 AI credits
Start with Pro

Business

Unlimited everything with white-label, API access & advanced analytics.

$79/mo

billed $948/year

  • Everything in Pro
  • Unlimited websites & team seats
  • White-label (add-on) & API access
  • Logic jumps, live quizzes & polls
  • Payment forms (Stripe/PayPal)
  • Advanced analytics, 5,000 AI credits
Start with Business

Prices shown for the 50k monthly visitor tier on yearly billing. A Free Forever plan ($0) and a custom Enterprise plan are also available. No contracts, cancel anytime.

Guide · 4 min read

The complete guide to before/after slider widgets for transformation pages

A before/after image slider lets visitors compare two states with a draggable reveal. This guide covers what actually matters when you choose and embed a before/after slider widget: picking the right layout and orientation, preparing matched images, testing mobile touch behavior, and using care when the transformation involves a human body, face, or dental result.

01

Transformation marketing psychology: why drag-to-reveal beats static side-by-side

A static side-by-side photo shows a transformation, while a drag-to-reveal slider lets the visitor compare the two states directly. Use it when the difference between before and after matters more than either image alone. For service businesses selling transformations, place the slider where visitors are already evaluating proof of work, then test the page with your own analytics instead of assuming a specific engagement lift.

02

Picking a layout: Classic, Glass Focus, X-Ray, Flashlight, or Vertical

The Poper before/after slider ships five layouts, and the right choice depends on the kind of transformation you are showing. Classic split is the standard before/after comparison: a crisp vertical divider with a bold drag handle, and it is the right default for room renovations, photo retouches, and website redesigns. Glass Focus uses a frosted-glass control with a thin minimal line, which suits a clean, understated portfolio. X-Ray draws an emerald scan line and reveals the second image as the visitor hovers, which works well for dramatic reveals. Flashlight lets the visitor move a circular light to uncover the before image beneath, a playful interaction for event displays and product reveals; you can size the reveal circle. The Vertical layout swaps the divider to a handle that slides up and down, which is the right choice for full-body fitness transformations and tall portrait shots where a left-to-right wipe would feel wrong. Classic and Glass Focus also let you switch between horizontal and vertical orientation directly, so you are not locked into the layout's default. Pick the layout that matches both your imagery and the surrounding page rather than the most eye-catching one.

03

Mobile touch behavior: keeping the wipe smooth on a phone

Before/after sliders need to be tested on mobile because real image size, page layout, and device performance all affect the feel of the drag interaction. Single-finger drag wipes the slider, and responsive sizing helps it fit the column it sits in. For the best mobile result, upload two images at the same aspect ratio so the comparison lines up pixel for pixel, keep the files reasonably sized, and test on the phones your visitors actually use.

04

Sharing your transformations on social media

Before/after content is one of the most-shared formats on Instagram, TikTok, Pinterest, and Facebook, because a transformation tells a complete story in two frames. The slider itself lives on your website, so the way to carry that shareability to social is on your side rather than the widget's. Set a strong Open Graph image for the page the slider sits on, ideally a static side-by-side composite of the before and after, so that when someone pastes your URL into a social post the preview shows the transformation rather than a generic page thumbnail. Give the page a clear, descriptive title and URL so the link reads well when shared. And when you post the transformation natively on social, link back to the page where the interactive slider lives so curious viewers can drag it themselves. The widget's job is to make the on-site experience compelling; pairing it with good page-level Open Graph tags is what makes the shared link look as good as the slider does.

Quick reference

What is Before/After Slider Widget: Drag-to-Reveal Image Comparison for Your Site?

A before/after slider widget is an embeddable script that displays two images stacked under a draggable handle. As the visitor drags the handle horizontally or vertically, one image is revealed and the other is hidden, creating an interactive transformation comparison. Poper's before/after slider ships five layouts and works with mouse and touch.

Key facts

  • Drag-to-reveal sliders let visitors inspect transformations more directly than a static side-by-side image
  • A large share of before/after slider interactions happen on mobile, so smooth touch dragging matters
  • Poper's before/after slider ships five layouts: Classic, Glass Focus, X-Ray, Flashlight, and Vertical
  • The Classic and Glass Focus layouts can be switched between horizontal and vertical wipe orientation
  • The wipe uses CSS-based reveal behavior; validate smoothness with your real images and target devices
  • Medical and cosmetic before/after images of identifiable patients require informed consent that explicitly authorizes web display, and you should confirm your own hosting and compliance posture

Last fact-checked: . We re-verify every quarter.

Tutorial

See the Before/After Slider in action

A quick walkthrough of setting up and embedding this widget.

Tutorial video coming soon

Frequently asked questions

Can't find the answer you're looking for? Chat with our support team.

Contact Support

Stop letting static side-by-side photos waste your transformation work

Use Poper to embed a drag-to-reveal slider that lets visitors uncover the change themselves.

Free plan available forever