Skip to main content
An ovr.config.ts (or .js/.mjs) file in the directory you run the CLI from configures the server URL, capture viewports, and diff threshold for a project.

Options

If viewports is omitted, OVR falls back to a single default: 1280px wide, full page, in Chromium.

Viewports

Each entry in viewports describes one capture target: Unnamed viewports (no name) are always opt-in: they can’t be referenced by defaultViewports, only added inline via a story override. Individual stories can override some of these options, or skip capture entirely — see Per-story parameters.

Only affected

Options for ovr upload storybook --only-affected. Globs are relative to the directory you run the CLI from.