# Aspect Ratio > Fixed-ratio containers for media. Import from `@aspyn-io/kit`. Scaffold source: `npx shadcn@latest add https://design.aspyn.io/r/aspect-ratio.json` ## Install ```tsx import { AspectRatio } from "@aspyn-io/kit"; ``` ### 16:9 media container ```tsx Property ``` ### Square (1:1) Equal sides for avatars, thumbnails, and product tiles. ```tsx ``` ### Portrait (9:16) Tall frame for phone screenshots and vertical video. ```tsx ``` ## Notes - Prevents layout shift for images/maps/embeds of unknown intrinsic size.