Skip to content
Finer UI

What makes Compare work

Category
Before & after
Added
Nov 6, 2026
Good for
Any business whose work shows: detailers, cleaners, renovators, landscapers, photographers, salons
Built with
HTML, CSS and JavaScript, no libraries.
  1. 01Everything is adjustable: divider and handle colours, divider width, handle size, roundness, thumbnail size, photo height, where the handle rests, glide and change speed, and the before and after labels.
  2. 02Press anywhere on the photo and the handle glides to your finger, then follows it exactly. Pull past an edge and it gives a little, like a real stop; let go near the middle or an edge and it settles there.
  3. 03The Before and After labels fade out as the handle comes near, so a label never sits over the wrong photo. The handle reads on any photo, light or dark.
  4. 04Every job is a thumbnail split the same way, and the current one mirrors the handle as you drag. Changing job dips the old pair out and settles the new one in, only once both photos have loaded, and the frame glides to the new shape.
  5. 05On phones, a sideways drag moves the handle and an up-and-down one scrolls the page as normal. On a computer the handle is a proper slider: arrow keys, Shift for bigger steps, Home and End.
  6. 06Once, when it first comes into view, the handle eases over and back to show it moves. Reduced motion skips it.
  7. 07Part of the before & after family: Stages and Wipe read the same list of jobs, so you fill it in once. Across or down, drag or hover, light or dark.

Use this element

Copy it into your website builder. It keeps the exact design and behavior, and your site's styles can't change it.

A short snippet that loads the element from finerui.com, signed with your embed key. Fixes and updates made here show up everywhere it's used.

Paste it into an HTML or embed block:

  • Wix: Add, then Embed code, then Embed HTML
  • Squarespace: a Code block
  • Webflow: an Embed element
  • WordPress: a Custom HTML block
  • GoHighLevel: a Custom JS/HTML element

It sizes its own height and has a clear background, so it sits on your page like it belongs there.

The code is for premium members

Premium members copy Compare and every other element as an embed, a full file or a Lovable prompt. From $12.42 a month.