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.

Image compare, at rest

Drag · free, with full source

Image compare props

NameTypeDefaultDescription
labelsbooleantrueThe Before and After tags. On or off.
cornernumber20pxCorner. From 0 to 28px.

Free under MIT. Licence

More blocks

More drag blocks