Skip to content

Vercel Toolbar can now detect and replay your layout shifts

The Vercel Toolbar automatically flags layout shifts on a deployment, names the elements involved, and lets you replay the shift to see what moved.

Source: Vercel

Vercel’s Toolbar can now detect layout shifts on a deployment automatically and let you replay them. Each shift it catches comes with a summary of what caused it and how many elements it affected. Hovering over a listed shift highlights the element involved, and double-clicking it, or selecting it and hitting “Replay selected shift”, plays the movement back so you can see what actually happened on the page.

You can select more than one shift and replay them together, useful for seeing the combined effect when several elements move in the same load. The Toolbar is added automatically to every Preview Deployment. It also works on localhost and in production via the @vercel/toolbar package, though Vercel suggests gating production use behind your own staff authentication.

Why it matters: Cumulative Layout Shift is one of the three Core Web Vitals, and it’s historically been the hardest one to debug: a low score tells you something moved, not what or when. Being able to point at a specific shift and watch it happen removes most of the guesswork, directly in the same tool you already use for previews.

The caveat: this only covers deployments on Vercel’s own Toolbar, so it’s no help if you’re hosting elsewhere.

Share

Related reading

More from The Wire

All briefs