plugin-icon

Sleek Compare

A lightweight before and after image comparison slider for WordPress. No dependencies, under 10KB total.
Beoordelingen
5
Versie
1.0.1
Actieve installaties
10
Laatst bijgewerkt
Jun 7, 2026
Sleek Compare

Sleek Compare is a lightweight before/after image comparison slider for WordPress. Built with performance in mind — no jQuery, no FontAwesome, no bloat.

Key Features

  • Ultra-lightweight: Under 10KB total (JS + CSS combined)
  • Zero external dependencies: No jQuery or icon libraries required
  • Touch-friendly: Full swipe support for mobile devices
  • Keyboard accessible: Arrow keys, Shift+Arrow for 10% jumps, Home/End
  • Simple shortcode: Works in classic editor, widgets, and page builders
  • Lazy loading: Images and slider initialization deferred until visible
  • CSS variables: Easy theming without touching code
  • No render-blocking resources: Scripts and styles load conditionally

Pro Version

Want Gutenberg block and Elementor widget support? Check out Sleek Compare Pro for:

  • Native Gutenberg block with live preview
  • Full Elementor widget with style controls
  • Custom handle colors
  • Priority email support
  • Lifetime updates

Usage

Shortcode

Basic usage: [sleek_compare before=”https://example.com/before.jpg” after=”https://example.com/after.jpg”]

With all options: [sleek_compare before=”https://example.com/before.jpg” after=”https://example.com/after.jpg” start=”30″ label_before=”Original” label_after=”Enhanced” show_labels=”true” ]

Shortcode Attributes

  • before – URL of the before image (required)
  • after – URL of the after image (required)
  • start – Starting position 0-100 (default: 50)
  • label_before – Before label text (default: “Before”)
  • label_after – After label text (default: “After”)
  • show_labels – Show labels true/false (default: true)
Gratisvoor betaalde abonnementen
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 7.0.2
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.