Aspect ratio keeps a box in a fixed proportion while its width changes, so media never shifts the layout as it loads.
npx shadcn@latest add https://trayui.com/r/aspect-ratio.json
aspect-ratio