Skip to content

Slick Image CompareA fast, lightweight image compassion slider

Info

Is a modern image comparison slider written in vanilla JavaScript and has no dependencies on other libraries. Best for comparing images, image retouching, color adjustments, renderings, generative content, etc.

Example

beforeafter
Italy, Sunrise (color grading)

the example above used this options:

js
const options = {
  beforeLabel: 'Original',
  afterLabel: 'Color graded',
  snapToStart: true,
  handleAngle: 6,
  startPos: 38
}

Released under the MIT License.