Skip to content

Rule · Lint

UI feedback transition longer than 500ms

lint/long-ui-durationinfovoid lintupdated

Why it matters

Hover, press and focus feedback over ~300ms feels sluggish; above 500ms users perceive the interface as slow and repeated interactions queue up.

How to fix it

Keep interaction feedback at 100–200ms (--duration-fast), entrances at 200–400ms. Long durations are for ambient/decorative motion only.

Example

tsx
<a className="transition-colors duration-150 hover:text-fg" />

void lint reports 67 rules in this category. Static source checks with no browser: Tailwind v4 silent failures, Next.js 16 API traps, React render-body bugs, accessibility markup, SEO files and motion hygiene.