Cleanup

Cleanup asks your AI tool to review and tidy up each generated TypeUI prompt section before it continues. It is useful when you want each section to be checked for common issues instead of waiting until the full page is complete.

When cleanup is enabled, TypeUI adds a review step after each prompt section is implemented. Your AI tool can use that step to improve details such as spacing, responsive behavior, accessibility, hierarchy, and obvious usability problems before it starts the next section.

What cleanup checks

Cleanup is meant for practical UI quality fixes. It helps your AI tool look for issues such as:

  • unclear spacing or visual hierarchy
  • weak mobile behavior
  • usability or accessibility issues

Cleanup is not a separate redesign step. It should improve the generated UI, not replace it with a new direction.

Cleanup loops

A cleanup loop is one review-and-fix pass after a TypeUI prompt section is implemented.

The default is 1 cleanup loop. That gives your AI tool one section-level pass to catch common issues before it continues.

You can increase the setting up to 3 cleanup loops when you want a deeper review. More loops can catch more issues, but they may take longer because your AI tool has to inspect and adjust each section multiple times.

When to use more loops

1 loop

Most work

Recommended for normal pages, sections, and quick iteration.

2 loops

Complex UI

Useful for denser screens, forms, and multi-section layouts.

3 loops

Extra polish

Best when quality matters more than speed.

Turning cleanup off

You can turn cleanup off from Dashboard settings. When cleanup is off, TypeUI skips the section cleanup loops.

The selected loop count is still saved, but it does not run while cleanup is disabled. If you turn cleanup back on later, TypeUI uses the saved loop count again.

Update your cleanup setting

Go to Dashboard settings, then update Cleanup and Cleanup loops.

Keep cleanup enabled when you want TypeUI to ask your AI tool for a cleaner first result. Turn it off when you want the fastest possible response and plan to refine the UI yourself.