shadcn Aspect Ratio, Maia preset. A frame that keeps its shape at any width, so a picture or a video never jumps the page as it loads. The prototype has no photos (mock data): each frame holds a bronze tile with an icon, named as the picture it stands for.
Demo
16 by 9 for video and wide photos. The frame reserves its height before the picture arrives, so nothing below it moves.
videocam
Square
1 by 1 for a pill photo or a profile picture.
medication
Portrait
9 by 16 for a page of a document or a phone screenshot.