A square image crop gives a card grid consistent geometry. The crop anchor determines whether the most important part of a photo survives.
Worked example
// components/SquareCoverCrop.tsx
export default function SquareCoverCrop({
src = "/studio.jpg",
caption = "Inside the studio",
}: { src?: string; caption?: string } = {}) {
return (
<img
src={src}
alt={caption}
style={{ width: "min(100%,20rem)", aspectRatio: "1", objectFit: "cover" }}
/>
);
}Implementation notes
An alternative text description should describe the image's purpose in this card. The same image can be informative in one place and decorative in another.
Try it yourself
Compare landscape art with an off-centre portrait.
Open the React example →Editorial date November 5, 2026 · Published December 6, 2026