Iframe dimension sizing on React sites
Unsized iframes (70.3%) versus explicitly sized iframes (62.3%): how reserving embed dimensions affects Cumulative Layout Shift across iframe-using sites.
62.3% of React sites use explicitly sized iframe dimension sizing, and 92% of those sites have a good CLS, against 92% of all React sites.
CLS pass rate
Sites with explicitly sized iframe dimension sizing have a good CLS most often: 92%, against 92% of all React sites. Sites with unsized iframe dimensions have it least often, at 89%.
Iframe dimension sizing usage
Unsized is the most used: 70.3% of React sites. Explicitly sized is 62.3% of React sites.
Iframe dimension sizing per platform
Wix sets the iframe dimension sizing to explicitly sized on 65% of its sites, and 97% of Wix sites have a good CLS, against 92% of all sites. WordPress sets the iframe dimension sizing to unsized on 87% of its sites, and 88% of WordPress sites have a good CLS.
Iframe dimension sizing or the platform
Does the platform explain the iframe dimension sizing difference?
On Wix, 97% of sites with explicitly sized iframe dimension sizing have a good CLS, against 95% of Wix sites with unsized. Within Wix, sites with explicitly sized and unsized have a good CLS about equally often. On WordPress, 85% of sites with explicitly sized iframe dimension sizing have a good CLS, against 86% of WordPress sites with unsized. Within WordPress, sites with explicitly sized and unsized have a good CLS about equally often.
Why visible iframes cannot infer an aspect ratio without attributes
Unlike images, an <iframe> has no intrinsic dimensions in its network header; without explicit width and height attributes or a sized container, the browser defaults the frame to 300x150 pixels until scripts resize it. Across iframe-using sites, 62.3% size their embeds explicitly (92% good CLS) and 70.3% include unsized iframes (89% good CLS, largely hidden utility sandboxes).
Understanding iframe dimension sizing
Reserve fixed width and height attributes or a CSS aspect-ratio container around every visible iframe so late postMessage resizes do not shift surrounding layout. Across sites with iframes, 62.3% set explicit iframe dimensions (92% good CLS) while 70.3% contain at least one unsized iframe (89% good CLS).
By Arjen Karel · 9,570 crawled React sites (5,488 with phone Chrome field data, 5,283 sites with iframe dimension sizing, October 2026). How we measured.