Image compare
An image comparison slider for React. Drag the line to compare two pictures, or flick it and it glides to the edge. The Before and After labels can be turned on or off. A good fit for photo editing tools, renovation showcases and product upgrade pages.

Drag · free, with full source
Image compare props
| Name | Type | Default | Description |
|---|---|---|---|
labels | boolean | true | The Before and After tags. On or off. |
corner | number | 20px | Corner. From 0 to 28px. |
Free under MIT. Licence