Academic
UI Fidelity Checker
A class project that checks a live page against its design and produces a clear list of visual mismatches.
For my Vibecoding class, I built the full-stack tool from screenshot capture to export. It normalizes images, compares pixels and sorts the mismatches into a report a developer can use.
The short version
- Captured pages with Playwright and detected the correct viewport automatically
- Added three sizing modes for comparisons between images with different dimensions
- Exported findings as Markdown, GitHub Issues, Jira text or JSON
What I worked on
- I linked screenshot capture, image resizing and pixel comparison into one flow that works for individual components and full page sections.
- When dimensions differ, the tool warns the user and offers cropping, letterboxing or fit-inside alignment.
What came out of it
The tool gives developers a visual diff and a written report. When the viewport sizes do not match, it explains the problem and asks them to choose a sizing mode.
What I learned
Browser rendering and anti-aliasing created noisy pixel diffs during testing. The sizing controls helped separate those artifacts from real layout differences. I also found that useful exports mattered more here than dashboard polish.
Tools and methods
- Next.js 16
- React 19
- TypeScript
- Playwright
- Sharp
- Pixelmatch
- Tailwind CSS