also looking at this
fix(image): apply builtin image fitting props
#2094
5 files
+49
-3
| @@ -635,6 +635,7 @@ External links (`http://`, `https://`, `mailto:`, `tel:`) stay as `<a href>` — | ||
| 635 | 635 | - `placeholder="blur"` (default) — inline SVG blur placeholder while loading; `placeholder="color"` + `placeholderColor="#…"` for a solid fill |
| 636 | 636 | - `lazy={false}` — opt out of lazy loading for above-the-fold heroes |
| 637 | 637 | - `preload` — emits a `<link rel="preload">` hint |
| 638 | - `objectFit="contain"` / `objectPosition="left center"` — fit and align the image inside its box; `fit` / `position` are aliases shared with `<Image>` | |
| 638 | 639 | - `provider="cloudinary"` / `"imgix"` / `"bunny"` — CDN URL rewriting; `quality` and `densities="1x 2x 3x"` are also accepted |
| 639 | 640 | |
| 640 | 641 | For genuinely dynamic URLs with no transforms, `x-src` / `x-alt` on a plain `<img>` is acceptable. Otherwise prefer `<StxImage>`. |