reopt design
DocsExploreTemplatesCanvasToolsPricing
Login
opt-uiopt-chartsopt-datagridopt-editoropt-calendaropt-filemanageropt-chatopt-shellbrandapp-ui
Overview205Core74Shells99Blocks32
VisualDiffManager
reopt designreopt design

A design system for the AI era

  • Docs
  • Pricing
  • Releases
  • About
  • Contact
  • Terms of Service
  • Privacy Policy

reopt Inc.Business registration no. 217-88-02453contact@reopt.ai

© 2026 reopt Inc. All rights reserved.

VisualDiffManager

Block

Review screenshot regressions and approvals with a three-column snapshot list and image-diff viewer.

display
Related docs
npx @reopt-ai/opt-cli block add visual-diff-manager
Install and import
bash
npx @reopt-ai/opt-cli block add visual-diff-manager
tsx
import { VisualDiffManager } from "@/components/surfaces/visual-diff-manager";

Live preview

Change the width and theme, then interact with the components.

100%

기본 사용

Visual Regression

Total5
Match1
Diff2
New1
Select all

No snapshot selected

Select a snapshot from the list to view the diff.

VisualDiffManager

PropTypeDefaultDescription
snapshotsRequiredSnapshotItem[]—스냅샷 목록
selectedSnapshotIdstring—선택된 스냅샷 ID
onSnapshotSelect(id: string) => void—스냅샷 선택 핸들러
selectedIdsstring[]—일괄 선택된 스냅샷 ID
viewModeDiffViewMode—비교 뷰 모드 (side-by-side/overlay/slider/diff-only)
onApprove(ids: string[]) => void—승인 핸들러
onReject(ids: string[]) => void—거부 핸들러
onUpdateBaseline(ids: string[]) => void—베이스라인 업데이트 핸들러
renderDiffViewer(snapshot: SnapshotItem, mode: DiffViewMode) => ReactNode—커스텀 diff 뷰어 렌더러
loadingboolean—로딩 상태
headerReactNode—커스텀 헤더 슬롯
actionsReactNode—액션 버튼 슬롯
labelsVisualDiffManagerLabels—커스텀 레이블
classNamestring—최외곽 CSS 클래스

컴포넌트 의존 관계

깊이
▼ USES (3)VisualDiffManagersummary-rowfilter-barloading-overlay
View test results

테스트 커버리지

2026년 7월 9일

생성된 테스트 결과를 찾지 못했습니다.

VisualDiffManager 항목이 문서 메타에 연결되어 있지만 현재 생성 파일에는 없습니다.

테스트를 추가한 뒤 `bun run generate:test-results`를 실행하거나 `testDescribe` 매핑을 다시 확인하세요.

Related components

opt-ui

ProjectSettings

Blocks

Manage project settings, retention policies, cleanup previews, and storage usage with forms, tables, and code snippets.

opt-ui

CustomDashboard

Blocks

Arrange custom dashboard widgets with WidgetGrid, ReportBuilder, ReportWidget, and FilterBar.

opt-ui

DebugWorkspace

Blocks

Debug E2E tests with a test-list sidebar and tabs for video, screenshots, network, console, and traces.

opt-ui

UserDetail

Blocks

Build user profiles with avatars, metrics, gauges, progress indicators, tables, and filters.

opt-ui

ProjectOverview

Blocks

Summarize a project with metrics, navigation cards, charts, tables, code snippets, and dashboard management.

opt-ui

MarketplaceCatalog

Blocks

Browse a marketplace card grid with search, tab filters, and sorting.

PreviousDebugWorkspaceNextTestAnalytics