Components & visual scale
Audit every UI component and visual state at 1:1 size, review duplicates and wrappers, check spacing, corner, type, and color outliers, and spotlight usage on the map.
3 tasks, 2 questions answered.
PitaFix reads every captured screenshot once and groups UI pieces by kind (buttons, rows, fields, checkboxes, tabs, chips, text, pictures, cards, bars, and sheets) at true 1:1 point scale.
See every rendered state of a component beside the exact code that calls and draws it.
- Click Components in the top toolbar, or choose View › Panes › Components.
- Select any state to open the detail column: call sites that jump into your editor, wrappers, triggered Actions, size, colors, and the exact lines that draw that state.
- Right-click a state (or use the column header) and choose Spotlight on Map to dim other screens and highlight every screen using that component.
- Filter by component name at the bottom of the pane.
Wrong turn? Wrong component kind? Right-click a state and choose Change Kind, or Auto to return to automatic classification.
components, states, spotlight, visual inventory, call sites, actions, change kind, buttons, cards
Spot visual and structural drift with side-by-side crops, then decide what to fix or keep intentional.
- Click Review (the eye icon in the Components header) to list alike components, duplicate text styles, thin wrappers, inline controls with no component, and single-use external components.
- Select a suggestion to isolate those components and compare their cropped states at actual size.
- Click New Epic to pin comments on each component and group them into an epic (tracked as
In TasksandSettled). - Or click Mark Intentional…, enter why the variation belongs, and press ↩.
Wrong turn? Changed your mind about an exception? Open Intentional and click Unmark.
review, finds, duplicates, thin wrapper, inline control, intentional, unmark, new epic, audit
Measure the gaps, corner radii, text line heights, fills, and Text colors your captured screens actually use.
- Click Scale (the ruler icon in the Components header).
- Read each scale value, its usage share across the app, and editor links to locations that depart from it.
- Click the outlier button (for example,
Show 3 Outliers) to isolate off-scale states, select any state to inspect its departure, and click Show All to return.
Wrong turn? Click the selected state again (or press the header's ×) to clear isolation.
scale, spacing, gaps, corners, radius, typography, colors, text colors, outliers, show outliers, design tokens
How it works
How are component states distinguished?
From screenshot pixels, never from text copy alone.
- Each state records size, fill, text color, outline, corner radius, and the source lines that drew that specific state.
- Text states group by line height and ink color, so labels with different copy share one text state.
- Selecting an element on the map shows a Used row in the inspector with Show in Components; VS Code and Zed show component counts in hover and CodeLens.
- If a capture was drawn by another platform's renderer, PitaFix notes that visual measurements are approximate.
states, pixels, text state, state code, inspector, used, hover, codelens
Do Components sync in shared sessions and work with agents?
Yes—component readings cache in the project store and travel with shared snapshots.
- Sharing a project analyzes screenshots first so collaborators open the populated Components pane and see live cursors on it.
- Coding agents query the same inventory and visual scale via MCP or CLI (see Inspect behavior & components).
shared session, multiplayer, mcp, list_components, get_component, get_scale, cli diff

