Skip to Content
New: @blazediff/agent - agentic visual regression your coding agent can judge. Read more β†’
DocsInteractive UI ComponentsReact

React Components

Build interactive image comparison components with React. Every example below is live and runs right on this page.

Installation

npm install @blazediff/react
import { SwipeMode } from "@blazediff/react"; <SwipeMode src1="before.png" src2="after.png" onPositionChange={(position) => console.log(position)} />

All four components render from the @blazediff/ui headless engine and accept *ClassName props for styling. See the full API reference β†’.

Last updated on