Image dimension sizing on React sites

Explicit width and height attributes (88.3%), CSS aspect-ratio (5.0%), and unsized <img> tags (75.5%): how reserving image boxes moves Cumulative Layout Shift.

Field data PhoneDesktopAll Scope All sites October 2026 edition · All devices field outcomes · React sites only
React Scoped to 9,570 sites out of 210,902 analyzed (frameworks) Compare with all sites →

88.3% of React sites use explicit width and height image dimension sizing, and 93% of those sites have a good CLS, against 92% of all React sites.

The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
1

CLS pass rate

Sites with explicit width and height image dimension sizing have a good CLS most often: 93%, against 92% of all React sites. Sites with CSS aspect-ratio image dimensions have it least often, at 84%.

SitesGood, needs improvement, poor CLSMedian
All React sites9,11092%0.00
Explicit width & height attributes 88.3%8,00393%0.00
Unsized <img> (no width/height or aspect-ratio) 75.5%6,87591%0.00
CSS aspect-ratio only 5.0%45484%0.01
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
2

Image dimension sizing usage

Explicit width and height is the most used: 88.3% of React sites.

Sites using each option (sites can use more than one) 9,502 sites
Explicit width & height attributes 88.3% Unsized <img> (no width/height or aspect-ratio) 75.5%
Explicit width & height attributes 88.3% Unsized <img> (no width/height or aspect-ratio) 75.5% CSS aspect-ratio only 5.0%
The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
3

Image dimension sizing per platform

Wix sets the image dimension sizing to explicit width and height on 98% of its sites, and 98% of Wix sites have a good CLS, against 92% of all sites.

PlatformImage dimension sizing on its sitesGood CLS
React sites with image dimension sizing 9,502 sitesExplicit width & height attributes 88%Unsized <img> (no width/height or aspect-ratio) 75%92%
Wix 5,802 sitesExplicit width & height attributes 98%Unsized <img> (no width/height or aspect-ratio) 71%98%
WordPress 2,334 sitesExplicit width & height attributes 94%Unsized <img> (no width/height or aspect-ratio) 81%85%
Explicit width & height attributes Unsized <img> (no width/height or aspect-ratio) CSS aspect-ratio only
The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
4

Image dimension sizing or the platform

Does the platform explain the image dimension sizing difference?

On Wix, 98% of sites with explicit width and height image dimension sizing have a good CLS, against 98% of Wix sites with unsized <img>. Within Wix, sites with explicit width and height and unsized <img> have a good CLS about equally often. On WordPress, 85% of sites with explicit width and height image dimension sizing have a good CLS, against 85% of WordPress sites with unsized <img>. Within WordPress, sites with explicit width and height and unsized <img> have a good CLS about equally often.

How browsers compute intrinsic aspect ratios from HTML width and height

User-agent stylesheets map HTML width and height attributes directly to an internal aspect-ratio property before the image file downloads. Across the web, 88.3% of sites size images with HTML width and height (93% good CLS), while 75.5% still include at least one unsized <img> (91% good CLS) and 5.0% use CSS aspect-ratio without HTML attributes (84% good CLS).

The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
5

Understanding image dimension sizing

Set explicit width and height attributes on every <img> element so the browser reserves its aspect ratio before stylesheets or image bytes arrive. Across all audited sites, 88.3% include explicitly sized images (93% good CLS), whereas 75.5% still ship at least one unsized image (91% good CLS) and 5.0% rely solely on CSS aspect-ratio (84% good CLS).

The State of Web Vitals · October 2026 · React: 9,570 crawled sites · 9,110 with all devices field data · 9,502 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals Fonts per page → DOM size → Bytes by resource type → Images per page → By Arjen Karel · 9,570 crawled React sites (9,110 with all devices Chrome field data, 9,502 sites with image dimension sizing, October 2026) · How we measured