Prompt
I'm building a design system and need a visual regression tool that catches spacing, alignment, and font changes
Latest observation
For a design system, you’ll want a visual regression testing tool that can compare screenshots and flag pixel-level changes in spacing, alignment, typography, and layout.
Strong options
-
Percy
Great for UI/component libraries and design systems. Easy to integrate with Storybook, Chromatic-style workflows, and CI. Good diff UI for catching subtle spacing/font shifts. -
Chromatic
Best if your design system lives in Storybook. Very popular for component-driven development and visual regression on every story. Excellent for catching CSS/spacing/font changes. -
Playwright + screenshot diffs
More flexible and code-driven if you want full control. You can automate snapshots of components/pages and compare them in CI, but you’ll build more of the workflow yourself. -
Applitools
Strong AI-assisted visual testing, good for detecting meaningful UI changes while reducing noise. More enterprise-oriented.
Best choice by setup
- Using Storybook? → Chromatic
- Want broader app/page coverage and a polished diff workflow? → Percy
- Want maximum flexibility and lower cost? → Playwright + image diff
- Need smart UI change detection at scale? → Applitools
What to look for
To catch spacing/alignment/font changes, make sure the tool supports:
- Baseline screenshots and per-commit comparisons
- Stable rendering across browsers
- CI integration
- Thresholds for acceptable diff noise
- Viewport and theme coverage
- Font loading stability handling
If you tell me your stack (Storybook/React/Vue/etc.) and CI provider, I can recommend the best fit and a setup path.