Image comparison slider
Schema-only template for a image comparison slider component.

Introduction
An image comparison slider displays two images side by side with a draggable handle to highlight visual differences.
It is commonly used to showcase before-and-after states, product improvements, or transformations and is typically placed in feature sections or case studies to enhance visual storytelling by emphasizing contrast and impact.
Personalizing the images, such as adapting visuals to match user segments or contexts, and testing different placements or default positions can improve engagement and make the content more relatable and effective.
Explore popular React comparison slider libraries in our guide.
Usage
To add this component to your workspace, run:
npx croct@latest use croct://ui/component/image-comparison-slider
Start building in seconds
Paste the following command in your terminal and let the CLI do the rest.
npx croct@latest init