Layout Lint

•
1
•

Detects visual layout bugs using deterministic DOM analysis, identifying issues like overflow, spacing, typography, and responsive regressions.

Layout Lint is an MCP server designed to pinpoint real visual layout bugs through precise DOM and CSS mathematical analysis, rather than relying on AI vision. It leverages Playwright to load web pages and execute a suite of structural analyzers. These analyzers rigorously check for issues such as content overflow and clipping, responsive design regressions across multiple viewports, typography inconsistencies and readability problems, breaks in spacing rhythm, undersized mobile touch targets, and potential z-index overlap risks. It provides detailed findings with element selectors and suggestions for remediation.

주요 기능

01Comprehensive structural audit for overflow, clipping, and viewport overflow
02Typography audit for font size, line-height, heading order, contrast, and consistency
030 GitHub stars
04Multi-viewport layout regression scanning with scrollbar and resize checks
05Mobile touch target size audit for interactive controls
06Spacing rhythm and sibling gap consistency audit

사용 사례

01Ensuring accessibility and responsiveness across various devices and viewports
02Automated UI/UX regression testing in CI/CD pipelines
03Identifying visual bugs during web development and design reviews