Prompt
What should I use to catch unintended UI changes in a design system?
Latest observation
Oct 27, 2026
OpenAI APIWeb search: off
To catch unintended UI changes in a design system, the best tool is usually visual regression testing.
What to use
- Storybook for isolated component previews
- Visual regression tools like:
- Chromatic (great with Storybook)
- Percy
- Playwright screenshots
- Loki or BackstopJS if you want self-hosted options
Why this works
These tools take screenshots of your components and compare them against approved baselines. If a button spacing, color, typography, or layout changes unexpectedly, the test flags it.
Recommended setup
For most design systems:
- Build components in Storybook
- Run Chromatic or Percy in CI
- Review diffs before merging
Also helpful
- Unit tests for behavior
- Accessibility tests to catch semantic issues
- Interaction tests for states like hover, focus, and disabled
If you want, I can recommend the best option based on your stack, such as React/Vue, monorepo, or self-hosted vs SaaS.