ReviewOS

also looking at this

stacks/stx

fix(image): apply builtin image fitting props

#2094
Merged chris wants to merge codex/hq-image-object-fit into main
5 files +49 -3
CLAUDE.mdmodified+1-0
Changes to CLAUDE.md
@@ -635,6 +635,7 @@ External links (`http://`, `https://`, `mailto:`, `tel:`) stay as `<a href>` —
635635- `placeholder="blur"` (default) — inline SVG blur placeholder while loading; `placeholder="color"` + `placeholderColor="#…"` for a solid fill
636636- `lazy={false}` — opt out of lazy loading for above-the-fold heroes
637637- `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>`
638639- `provider="cloudinary"` / `"imgix"` / `"bunny"` — CDN URL rewriting; `quality` and `densities="1x 2x 3x"` are also accepted
639640
640641For genuinely dynamic URLs with no transforms, `x-src` / `x-alt` on a plain `<img>` is acceptable. Otherwise prefer `<StxImage>`.